Function at 0x4b3750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebp, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4b37d1
mov edx, dword [esp + 0xa0]
mov esi, dword [ecx + 4]
add edx, esi
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x84], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x84]
mov ebx, dword [ecx + 0x1c]
sub eax, ebx
mov edx, dword [ecx + 8]
cmp dword [esp + 0x70], eax
jle 0x4b37c6
mov esi, dword [esp + 0x84]
test esi, esi
jle 0x4b37c6
mov eax, dword [esp + 0xa4]
sub eax, edx
mov edx, eax
cmp edi, edx
jg 0x4b381a
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0xa0]
sub eax, edx
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x84]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x1c]
cmp dword [esp + 0x70], ebx
jle 0x4b37c6
mov ebx, dword [esp + 0x84]
add eax, ebx
test eax, eax
jle 0x4b37c6
mov ebx, dword [esp + 0xa4]
sub ebx, edx
mov edx, ebx
cmp edi, edx
jle 0x4b37c6
mov eax, dword [esp + 0x18]
lea ebx, [edx + eax]
test ebx, ebx
jle 0x4b37c6
lea eax, [ecx + 0x30]
mov esi, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x4b3842
lea eax, [esi + 0x30]
mov dword [esp + 0x14], eax
test edx, edx
js 0x4b3c9d
mov eax, dword [esp + 0x70]
imul eax, edx
add eax, eax
cmp edi, ebx
jl 0x4b3a2d
mov edx, dword [esp + 0xb4]
lea eax, [eax + ebp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x4b3df5
test esi, esi
je 0x4b3cbb
mov esi, dword [esp + 0xa8]
test esi, esi
jne 0x4b3a38
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x4b37c6
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x10]
add edi, edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x84]
mov eax, dword [edx]
mov ecx, dword [ebx]
cmp dword [esp + 0x70], edi
jle 0x4b3c14
lea edx, [eax + edx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3c14
and eax, 0xff
add eax, edi
mov dword [esp + 0x88], eax
cmp dword [esp + 0x70], eax
jle 0x4b3c14
lea eax, [edx + 1]
lea ecx, [ebx + ecx + 1]
lea esi, [esi]
mov dl, byte [eax]
inc ecx
inc eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
test dl, dl
je 0x4b39da
and edx, 0xff
mov ebp, edx
mov edx, dword [esp + 0x88]
lea eax, [ebp + edx]
test eax, eax
jle 0x4b3c47
mov edi, dword [esp + 0x88]
test edi, edi
js 0x4b3c63
cmp dword [esp + 0x70], eax
jge 0x4b3951
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x88]
sub ebp, ecx
test ebp, ebp
jle 0x4b39da
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x74]
lea ebx, [eax + edi*2]
xor edi, edi
lea esi, [esi]
xor eax, eax
mov al, byte [esi]
push edx
push eax
inc esi
mov ax, word [ebx]
and eax, 0xffff
push eax
xor eax, eax
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
mov al, byte [edi + edx]
inc edi
mov ax, word [ecx + eax*2]
and eax, 0xffff
push eax
call fcn.004af4d0
add esp, 0x10
mov word [ebx], ax
add ebx, 2
cmp edi, ebp
jne 0x4b3970
lea eax, [edi - 1]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
lea ebx, [ebx + eax + 1]
lea edi, [edi + eax + 1]
lea eax, [ebp + eax + 1]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x70], eax
jle 0x4b3c14
mov ebp, dword [esp + 0x78]
mov al, byte [ebp]
cmp al, 0xff
je 0x4b3c14
and eax, 0xff
mov ecx, dword [esp + 0x88]
add ecx, eax
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x70], eax
jle 0x4b3c14
mov eax, ebp
mov ecx, dword [esp + 0x74]
inc eax
inc ecx
jmp 0x4b3900
sub edi, edx
mov dword [esp + 0x18], edi
jmp 0x4b385b
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x4b37c6
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x14]
add ecx, ecx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ecx, dword [edx]
mov edx, dword [esp + 0x84]
mov eax, dword [ebp]
test edx, edx
jle 0x4b3b0f
lea edx, [eax + ebp]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3b0f
and eax, 0xff
mov ebx, dword [esp + 0x84]
sub ebx, eax
mov dword [esp + 0x24], ebx
test ebx, ebx
jle 0x4b3b0f
mov edi, dword [esp + 0x40]
inc edx
lea ecx, [edi + ecx + 1]
jmp 0x4b3af7
and eax, 0xff
mov edx, dword [esp + 0x24]
sub edx, eax
mov dword [esp + 0x68], eax
cmp dword [esp + 0x70], edx
jg 0x4b3b42
mov edi, dword [esp + 0x64]
add ecx, eax
add edi, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edi
test edx, edx
jle 0x4b3b0f
mov ebp, dword [esp + 0x64]
mov al, byte [ebp]
cmp al, 0xff
je 0x4b3b0f
and eax, 0xff
sub edx, eax
mov dword [esp + 0x24], edx
test edx, edx
jle 0x4b3b0f
mov edx, ebp
mov ecx, dword [esp + 0x60]
inc edx
inc ecx
mov al, byte [edx]
inc ecx
inc edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
test al, al
jne 0x4b3aa8
mov edx, dword [esp + 0x24]
test edx, edx
jg 0x4b3ad5
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
add ebp, 4
add edi, 4
dec dword [esp + 0x18]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
je 0x4b37c6
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
add esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x4b3a5e
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x70], eax
jge 0x4b3b82
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
sub eax, esi
mov ecx, dword [esp + 0x64]
sub ebx, eax
mov edx, dword [esp + 0x60]
add ecx, eax
add edx, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov dword [esp + 0x24], ecx
test edx, edx
js 0x4b3c90
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x4b3b07
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
lea ebx, [ebp + edi*2]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
nop
xor edx, edx
mov eax, dword [esp + 0x20]
mov dl, byte [ebp]
xor ecx, ecx
mov cl, byte [edi]
inc ebp
mov dx, word [eax + edx*2]
push eax
push ecx
and edx, 0xffff
mov ax, word [ebx - 2]
inc edi
and eax, 0xffff
push eax
push edx
call fcn.004af4d0
add esp, 0x10
mov word [ebx - 2], ax
sub ebx, 2
dec esi
jne 0x4b3bb0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
dec eax
mov ecx, dword [esp + 0x60]
lea edx, [edx + eax + 1]
lea eax, [ecx + eax + 1]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x68]
sub edx, eax
jmp 0x4b3ad1
mov eax, dword [esp + 0x48]
add eax, 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
add eax, 4
dec dword [esp + 0x18]
mov dword [esp + 0x4c], eax
je 0x4b37c6
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4b38b3
mov edx, dword [esp + 0x78]
add ecx, ebp
add edx, ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x88], eax
jmp 0x4b39da
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
sub esi, ecx
sub ebx, ecx
mov ebp, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x88], 0
jmp 0x4b393e
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], ebx
jmp 0x4b3b8a
lea eax, [edx*4]
mov edx, dword [esp + 0x10]
sub edx, eax
xor eax, eax
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], ebx
jmp 0x4b3853
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4b3fcd
mov ebp, dword [esp + 0xa8]
test ebp, ebp
jne 0x4b3e01
mov esi, dword [esp + 0x18]
test esi, esi
jle 0x4b37c6
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
add ebp, ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ebp
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x70], ecx
mov eax, dword [edx]
jle 0x4b3f83
lea edx, [eax + edx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3f83
and eax, 0xff
lea ebp, [eax + ecx]
lea eax, [edx + 1]
cmp dword [esp + 0x70], ebp
jle 0x4b3f83
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x4b3dc8
and edx, 0xff
mov eax, edx
mov dword [esp + 0x80], edx
add eax, ebp
test eax, eax
jle 0x4b3fab
test ebp, ebp
js 0x4b3fb4
cmp dword [esp + 0x70], eax
jge 0x4b3d71
mov ebx, dword [esp + 0x70]
sub ebx, ebp
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x80]
test eax, eax
jle 0x4b3dc8
mov eax, dword [esp + 0x1c]
xor esi, esi
lea ebx, [eax + ebp*2]
push eax
push eax
mov ax, word [ebx]
and eax, 0xffff
push eax
xor eax, eax
mov al, byte [esi + edi]
mov edx, dword [esp + 0x2c]
inc esi
mov ax, word [edx + eax*2]
and eax, 0xffff
push eax
call dword [esp + 0xc8]
add esp, 0x10
mov word [ebx], ax
add ebx, 2
cmp esi, dword [esp + 0x80]
jne 0x4b3d85
lea eax, [esi - 1]
lea ebp, [ebp + eax + 1]
lea edi, [edi + eax + 1]
cmp dword [esp + 0x70], ebp
jle 0x4b3f83
mov al, byte [edi]
cmp al, 0xff
je 0x4b3f83
and eax, 0xff
add ebp, eax
cmp dword [esp + 0x70], ebp
jle 0x4b3f83
lea eax, [edi + 1]
jmp 0x4b3d30
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x20], ecx
jmp 0x4b3876
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x4b37c6
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
add ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
test ebx, ebx
mov eax, dword [edi]
jle 0x4b3f5b
lea edx, [eax + edi]
mov al, byte [edx]
cmp al, 0xff
je 0x4b3f5b
and eax, 0xff
mov ebp, dword [esp + 0x84]
sub ebp, eax
lea eax, [edx + 1]
test ebp, ebp
jg 0x4b3eaf
jmp 0x4b3f5b
and edx, 0xff
mov dword [esp + 0x6c], edx
mov edx, ebp
mov ecx, dword [esp + 0x6c]
sub edx, ecx
cmp dword [esp + 0x70], edx
jg 0x4b3ebe
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x7c], eax
test edx, edx
jle 0x4b3f5b
mov ebp, dword [esp + 0x7c]
mov al, byte [ebp]
cmp al, 0xff
je 0x4b3f5b
and eax, 0xff
mov ebp, edx
sub ebp, eax
test ebp, ebp
jle 0x4b3f5b
mov eax, dword [esp + 0x7c]
inc eax
mov dl, byte [eax]
inc eax
mov dword [esp + 0x7c], eax
test dl, dl
jne 0x4b3e60
mov edx, ebp
jmp 0x4b3e82
cmp dword [esp + 0x70], ebp
jge 0x4b3eee
mov eax, ebp
mov edi, dword [esp + 0x70]
sub eax, edi
mov esi, dword [esp + 0x6c]
sub esi, eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x6c], esi
add ebx, eax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], ebx
sub edx, ecx
mov ebp, dword [esp + 0x70]
test edx, edx
js 0x4b3fc4
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x4b3eba
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x6c]
lea ebx, [edi + ebp*2]
mov edi, dword [esp + 0x7c]
lea esi, [esi]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov al, byte [edi]
inc edi
mov dx, word [ecx + eax*2]
push eax
push eax
and edx, 0xffff
mov ax, word [ebx - 2]
and eax, 0xffff
push eax
push edx
call dword [esp + 0xc8]
add esp, 0x10
mov word [ebx - 2], ax
sub ebx, 2
dec esi
jne 0x4b3f10
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
mov edx, ebp
add ebx, edi
sub edx, edi
mov dword [esp + 0x7c], ebx
jmp 0x4b3e82
mov eax, dword [esp + 0x50]
add eax, 4
dec dword [esp + 0x18]
mov dword [esp + 0x50], eax
je 0x4b37c6
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
add eax, edi
mov dword [esp + 0x1c], eax
jmp 0x4b3e1f
mov ebp, dword [esp + 0x54]
add ebp, 4
dec dword [esp + 0x18]
mov dword [esp + 0x54], ebp
je 0x4b37c6
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add edi, ecx
mov dword [esp + 0x1c], edi
jmp 0x4b3cf7
add edi, edx
mov ebp, eax
jmp 0x4b3dc8
sub edi, ebp
xor ebp, ebp
mov dword [esp + 0x80], eax
jmp 0x4b3d5e
mov dword [esp + 0x6c], ebp
jmp 0x4b3ef6
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x4b411a
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x4b37c6
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x10]
add ebx, ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x84]
test edx, edx
mov eax, dword [ebp]
jle 0x4b40ec
lea edx, [eax + ebp]
mov al, byte [edx]
cmp al, 0xff
je 0x4b40ec
and eax, 0xff
mov esi, dword [esp + 0x84]
sub esi, eax
lea eax, [edx + 1]
test esi, esi
jg 0x4b4077
jmp 0x4b40ec
and edx, 0xff
mov dword [esp + 8], edx
mov edx, esi
mov ebp, dword [esp + 8]
sub edx, ebp
cmp dword [esp + 0x70], edx
jg 0x4b4084
mov ebx, dword [esp + 8]
add edi, ebx
test edx, edx
jle 0x4b40ec
mov al, byte [edi]
cmp al, 0xff
je 0x4b40ec
and eax, 0xff
mov esi, edx
sub esi, eax
test esi, esi
jle 0x4b40ec
lea eax, [edi + 1]
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
jne 0x4b4037
mov edx, esi
jmp 0x4b4055
cmp dword [esp + 0x70], esi
jge 0x4b40ac
mov eax, esi
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov edx, dword [esp + 8]
sub edx, eax
add edi, eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x70]
sub edx, eax
test edx, edx
js 0x4b4114
mov ebp, dword [esp + 8]
test ebp, ebp
jle 0x4b4080
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 8]
lea ebx, [eax + esi*2]
xor eax, eax
mov ebp, dword [esp + 0x20]
mov al, byte [ecx]
inc ecx
mov ax, word [ebp + eax*2]
mov word [ebx - 2], ax
sub ebx, 2
dec edx
jne 0x4b40c5
mov eax, dword [esp + 8]
mov edx, esi
add edi, eax
sub edx, eax
jmp 0x4b4055
mov edi, dword [esp + 0x58]
add edi, 4
dec dword [esp + 0x18]
mov dword [esp + 0x58], edi
je 0x4b37c6
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
add esi, edx
mov dword [esp + 0x1c], esi
jmp 0x4b3ffa
mov dword [esp + 8], esi
jmp 0x4b40b0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x4b37c6
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
add ecx, ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x84]
cmp dword [esp + 0x70], ebp
mov eax, dword [edi]
jle 0x4b41fd
lea edx, [eax + edi]
mov al, byte [edx]
cmp al, 0xff
je 0x4b41fd
and eax, 0xff
lea esi, [eax + ebp]
cmp dword [esp + 0x70], esi
jle 0x4b41fd
inc edx
mov al, byte [edx]
lea ebp, [edx + 1]
test al, al
je 0x4b41db
and eax, 0xff
mov dword [esp + 0xc], eax
add eax, esi
test eax, eax
jle 0x4b4225
test esi, esi
js 0x4b422f
cmp dword [esp + 0x70], eax
jge 0x4b41a3
mov eax, dword [esp + 0x70]
sub eax, esi
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x4b41db
mov edx, dword [esp + 0x1c]
mov ecx, ebp
lea ebx, [edx + esi*2]
mov edx, dword [esp + 0xc]
xor eax, eax
mov edi, dword [esp + 0x20]
mov al, byte [ecx]
inc ecx
mov ax, word [edi + eax*2]
mov word [ebx], ax
add ebx, 2
dec edx
jne 0x4b41b8
mov eax, dword [esp + 0xc]
dec eax
lea ebp, [ebp + eax + 1]
lea esi, [esi + eax + 1]
cmp dword [esp + 0x70], esi
jle 0x4b41fd
mov al, byte [ebp]
cmp al, 0xff
je 0x4b41fd
and eax, 0xff
add esi, eax
cmp dword [esp + 0x70], esi
jle 0x4b41fd
lea edx, [ebp + 1]
jmp 0x4b416f
mov edx, dword [esp + 0x5c]
add edx, 4
dec dword [esp + 0x18]
mov dword [esp + 0x5c], edx
je 0x4b37c6
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
add eax, ebp
mov dword [esp + 0x1c], eax
jmp 0x4b4138
mov ebx, dword [esp + 0xc]
mov esi, eax
add ebp, ebx
jmp 0x4b41db
sub ebp, esi
xor esi, esi
mov dword [esp + 0xc], eax
jmp 0x4b4193