Function at 0x4b4240
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 0x4b42c1
mov edx, dword [esp + 0xa0]
mov esi, dword [ecx + 4]
add edx, esi
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x80], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x80]
mov ebx, dword [ecx + 0x1c]
sub eax, ebx
mov edx, dword [ecx + 8]
cmp dword [esp + 0x70], eax
jle 0x4b42b6
mov esi, dword [esp + 0x80]
test esi, esi
jle 0x4b42b6
mov eax, dword [esp + 0xa4]
sub eax, edx
mov edx, eax
cmp edi, edx
jg 0x4b430a
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 + 0x80], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x80]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x1c]
cmp dword [esp + 0x70], ebx
jle 0x4b42b6
mov ebx, dword [esp + 0x80]
add eax, ebx
test eax, eax
jle 0x4b42b6
mov ebx, dword [esp + 0xa4]
sub ebx, edx
mov edx, ebx
cmp edi, edx
jle 0x4b42b6
mov eax, dword [esp + 0x18]
lea ebx, [edx + eax]
test ebx, ebx
jle 0x4b42b6
lea eax, [ecx + 0x30]
mov esi, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x4b4332
lea eax, [esi + 0x30]
mov dword [esp + 0x14], eax
test edx, edx
js 0x4b4775
mov eax, dword [esp + 0x70]
imul eax, edx
shl eax, 2
cmp edi, ebx
jl 0x4b4510
mov edx, dword [esp + 0xb4]
lea eax, [eax + ebp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x4b48f8
test esi, esi
je 0x4b4793
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4b451b
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x4b42b6
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x10]
shl edi, 2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x80]
mov eax, dword [edx]
mov ecx, dword [ebx]
cmp dword [esp + 0x70], edi
jle 0x4b46ec
lea edx, [eax + edx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b46ec
and eax, 0xff
add eax, edi
mov dword [esp + 0x84], eax
cmp dword [esp + 0x70], eax
jle 0x4b46ec
lea eax, [edx + 1]
lea ecx, [ebx + ecx + 1]
nop
mov dl, byte [eax]
inc ecx
inc eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
test dl, dl
je 0x4b44bd
and edx, 0xff
mov ebp, edx
mov edx, dword [esp + 0x84]
lea eax, [ebp + edx]
test eax, eax
jle 0x4b471f
mov edi, dword [esp + 0x84]
test edi, edi
js 0x4b473b
cmp dword [esp + 0x70], eax
jge 0x4b4441
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
sub ebp, ecx
test ebp, ebp
jle 0x4b44bd
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x74]
lea ebx, [eax + edi*4]
xor edi, edi
lea esi, [esi]
xor eax, eax
mov al, byte [esi]
push edx
push eax
inc esi
mov eax, dword [ebx]
push eax
xor eax, eax
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
mov al, byte [edi + edx]
inc edi
mov eax, dword [ecx + eax*4]
push eax
call fcn.004aebe0
add esp, 0x10
mov dword [ebx], eax
add ebx, 4
cmp edi, ebp
jne 0x4b4460
lea eax, [edi - 1]
mov ebx, dword [esp + 0x84]
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 + 0x84], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x70], eax
jle 0x4b46ec
mov ebp, dword [esp + 0x78]
mov al, byte [ebp]
cmp al, 0xff
je 0x4b46ec
and eax, 0xff
mov ecx, dword [esp + 0x84]
add ecx, eax
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x70], eax
jle 0x4b46ec
mov eax, ebp
mov ecx, dword [esp + 0x74]
inc eax
inc ecx
jmp 0x4b43f0
sub edi, edx
mov dword [esp + 0x18], edi
jmp 0x4b434c
mov ebp, dword [esp + 0x18]
test ebp, ebp
jle 0x4b42b6
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
shl ecx, 2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x80]
mov eax, dword [ebp]
mov ecx, dword [edx]
test esi, esi
jle 0x4b45f7
lea edx, [eax + ebp]
mov al, byte [edx]
cmp al, 0xff
je 0x4b45f7
and eax, 0xff
mov ebx, dword [esp + 0x80]
sub ebx, eax
mov dword [esp + 0x68], ebx
test ebx, ebx
jle 0x4b45f7
mov edi, dword [esp + 0x40]
inc edx
lea ecx, [edi + ecx + 1]
jmp 0x4b45df
and eax, 0xff
mov edx, dword [esp + 0x68]
sub edx, eax
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x70], edx
jg 0x4b462a
mov ebx, dword [esp + 0x60]
add ecx, eax
add ebx, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
test edx, edx
jle 0x4b45f7
mov ebp, dword [esp + 0x60]
mov al, byte [ebp]
cmp al, 0xff
je 0x4b45f7
and eax, 0xff
sub edx, eax
mov dword [esp + 0x68], edx
test edx, edx
jle 0x4b45f7
mov edx, ebp
mov ecx, dword [esp + 0x5c]
inc edx
inc ecx
mov al, byte [edx]
inc ecx
inc edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
test al, al
jne 0x4b4590
mov edx, dword [esp + 0x68]
test edx, edx
jg 0x4b45bd
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add ebp, 4
add edi, 4
dec dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
je 0x4b42b6
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
add esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x4b4542
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x70], eax
jge 0x4b466a
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub eax, ecx
mov ebp, dword [esp + 0x60]
sub edx, eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x6c], edx
add ebp, eax
add edi, eax
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], edi
sub edx, esi
mov dword [esp + 0x68], ecx
test edx, edx
js 0x4b4768
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jle 0x4b45ef
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x6c]
lea ebx, [ebp + edi*4]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
xor eax, eax
xor edx, edx
mov al, byte [edi]
mov dl, byte [ebp]
push ecx
push eax
mov eax, dword [ebx - 4]
inc edi
push eax
inc ebp
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edx*4]
push eax
call fcn.004aebe0
add esp, 0x10
mov dword [ebx - 4], eax
sub ebx, 4
dec esi
jne 0x4b4696
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
dec eax
mov ecx, dword [esp + 0x5c]
lea edx, [edx + eax + 1]
lea eax, [ecx + eax + 1]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
sub edx, eax
jmp 0x4b45b9
mov eax, dword [esp + 0x44]
add eax, 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
add eax, 4
dec dword [esp + 0x18]
mov dword [esp + 0x48], eax
je 0x4b42b6
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4b43a5
mov edx, dword [esp + 0x78]
add ecx, ebp
add edx, ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], eax
jmp 0x4b44bd
mov ecx, dword [esp + 0x84]
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 + 0x84], 0
jmp 0x4b442e
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x6c], ebx
jmp 0x4b4672
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 0x4b4344
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4b4acf
mov ebp, dword [esp + 0xa8]
test ebp, ebp
jne 0x4b4904
mov esi, dword [esp + 0x18]
test esi, esi
jle 0x4b42b6
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x10]
shl edi, 2
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
cmp dword [esp + 0x70], ecx
mov eax, dword [edx]
jle 0x4b4a75
lea edx, [eax + edx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b4a75
and eax, 0xff
add eax, ecx
mov dword [esp + 0x88], eax
cmp dword [esp + 0x70], eax
jle 0x4b4a75
lea eax, [edx + 1]
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x4b48af
and edx, 0xff
mov ebp, edx
mov edx, dword [esp + 0x88]
lea eax, [ebp + edx]
test eax, eax
jle 0x4b4a9d
mov ecx, dword [esp + 0x88]
test ecx, ecx
js 0x4b4aab
cmp dword [esp + 0x70], eax
jge 0x4b4859
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x88]
sub ebp, eax
test ebp, ebp
jle 0x4b48af
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x1c]
xor esi, esi
lea ebx, [eax + ecx*4]
lea esi, [esi]
push eax
push eax
mov eax, dword [ebx]
push eax
xor eax, eax
mov al, byte [esi + edi]
mov edx, dword [esp + 0x2c]
inc esi
mov eax, dword [edx + eax*4]
push eax
call dword [esp + 0xc8]
add esp, 0x10
mov dword [ebx], eax
add ebx, 4
cmp esi, ebp
jne 0x4b4870
lea eax, [esi - 1]
mov ecx, dword [esp + 0x88]
lea ecx, [ecx + eax + 1]
lea edi, [edi + eax + 1]
mov dword [esp + 0x88], ecx
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x70], ebx
jle 0x4b4a75
mov al, byte [edi]
cmp al, 0xff
je 0x4b4a75
and eax, 0xff
mov ebx, dword [esp + 0x88]
add ebx, eax
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x70], ebx
jle 0x4b4a75
lea eax, [edi + 1]
jmp 0x4b480f
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x20], ecx
jmp 0x4b4367
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x4b42b6
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
shl ecx, 2
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x80]
test ebx, ebx
mov eax, dword [edi]
jle 0x4b4a4d
lea edx, [eax + edi]
mov al, byte [edx]
cmp al, 0xff
je 0x4b4a4d
and eax, 0xff
mov ebp, dword [esp + 0x80]
sub ebp, eax
lea eax, [edx + 1]
test ebp, ebp
jg 0x4b49af
jmp 0x4b4a4d
and edx, 0xff
mov dword [esp + 0x64], edx
mov edx, ebp
mov ecx, dword [esp + 0x64]
sub edx, ecx
cmp dword [esp + 0x70], edx
jg 0x4b49be
mov ecx, dword [esp + 0x64]
add eax, ecx
mov dword [esp + 0x7c], eax
test edx, edx
jle 0x4b4a4d
mov ebp, dword [esp + 0x7c]
mov al, byte [ebp]
cmp al, 0xff
je 0x4b4a4d
and eax, 0xff
mov ebp, edx
sub ebp, eax
test ebp, ebp
jle 0x4b4a4d
mov eax, dword [esp + 0x7c]
inc eax
mov dl, byte [eax]
inc eax
mov dword [esp + 0x7c], eax
test dl, dl
jne 0x4b4960
mov edx, ebp
jmp 0x4b4982
cmp dword [esp + 0x70], ebp
jge 0x4b49ee
mov eax, ebp
mov edx, dword [esp + 0x70]
sub eax, edx
mov ebp, dword [esp + 0x64]
sub ebp, eax
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x64], ebp
add edi, eax
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x7c], edi
sub edx, esi
mov ebp, dword [esp + 0x70]
test edx, edx
js 0x4b4ac6
mov ebx, dword [esp + 0x64]
test ebx, ebx
jle 0x4b49ba
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x64]
lea ebx, [edi + ebp*4]
mov edi, dword [esp + 0x7c]
lea esi, [esi]
xor eax, eax
mov al, byte [edi]
push ecx
push ecx
inc edi
mov edx, dword [ebx - 4]
push edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + eax*4]
push eax
call dword [esp + 0xc8]
add esp, 0x10
mov dword [ebx - 4], eax
sub ebx, 4
dec esi
jne 0x4b4a10
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x64]
mov edx, ebp
add ecx, ebx
sub edx, ebx
mov dword [esp + 0x7c], ecx
jmp 0x4b4982
mov edi, dword [esp + 0x4c]
add edi, 4
dec dword [esp + 0x18]
mov dword [esp + 0x4c], edi
je 0x4b42b6
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x4b4923
mov eax, dword [esp + 0x50]
add eax, 4
dec dword [esp + 0x18]
mov dword [esp + 0x50], eax
je 0x4b42b6
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
add ebp, edi
mov dword [esp + 0x1c], ebp
jmp 0x4b47d0
add edi, ebp
mov dword [esp + 0x88], eax
jmp 0x4b48af
mov edx, dword [esp + 0x88]
mov ebp, eax
sub edi, edx
mov dword [esp + 0x88], 0
jmp 0x4b4846
mov dword [esp + 0x64], ebp
jmp 0x4b49f6
mov edi, dword [esp + 0xa8]
test edi, edi
je 0x4b4c21
mov esi, dword [esp + 0x18]
test esi, esi
jle 0x4b42b6
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
shl ebp, 2
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ebp
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [edx]
jle 0x4b4bf3
lea edx, [eax + edx]
mov al, byte [edx]
cmp al, 0xff
je 0x4b4bf3
and eax, 0xff
mov esi, dword [esp + 0x80]
sub esi, eax
lea eax, [edx + 1]
test esi, esi
jg 0x4b4b80
jmp 0x4b4bf3
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 0x4b4b8d
mov ebx, dword [esp + 8]
add edi, ebx
test edx, edx
jle 0x4b4bf3
mov al, byte [edi]
cmp al, 0xff
je 0x4b4bf3
and eax, 0xff
mov esi, edx
sub esi, eax
test esi, esi
jle 0x4b4bf3
lea eax, [edi + 1]
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
jne 0x4b4b40
mov edx, esi
jmp 0x4b4b5e
cmp dword [esp + 0x70], esi
jge 0x4b4bb5
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 0x4b4c1b
mov ebp, dword [esp + 8]
test ebp, ebp
jle 0x4b4b89
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
lea ebx, [ecx + esi*4]
mov ecx, edi
xor eax, eax
mov ebp, dword [esp + 0x20]
mov al, byte [ecx]
inc ecx
mov eax, dword [ebp + eax*4]
mov dword [ebx - 4], eax
sub ebx, 4
dec edx
jne 0x4b4bce
mov eax, dword [esp + 8]
mov edx, esi
add edi, eax
sub edx, eax
jmp 0x4b4b5e
mov edi, dword [esp + 0x54]
add edi, 4
dec dword [esp + 0x18]
mov dword [esp + 0x54], edi
je 0x4b42b6
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add esi, edx
mov dword [esp + 0x1c], esi
jmp 0x4b4afd
mov dword [esp + 8], esi
jmp 0x4b4bb9
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x4b42b6
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x10]
shl ecx, 2
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x80]
cmp dword [esp + 0x70], ebp
mov eax, dword [edi]
jle 0x4b4d03
lea edx, [eax + edi]
mov al, byte [edx]
cmp al, 0xff
je 0x4b4d03
and eax, 0xff
lea esi, [eax + ebp]
cmp dword [esp + 0x70], esi
jle 0x4b4d03
inc edx
mov al, byte [edx]
lea ebp, [edx + 1]
test al, al
je 0x4b4ce1
and eax, 0xff
mov dword [esp + 0xc], eax
add eax, esi
test eax, eax
jle 0x4b4d2b
test esi, esi
js 0x4b4d35
cmp dword [esp + 0x70], eax
jge 0x4b4cab
mov eax, dword [esp + 0x70]
sub eax, esi
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
jle 0x4b4ce1
mov edx, dword [esp + 0x1c]
mov ecx, ebp
lea ebx, [edx + esi*4]
mov edx, dword [esp + 0xc]
xor eax, eax
mov edi, dword [esp + 0x20]
mov al, byte [ecx]
inc ecx
mov eax, dword [edi + eax*4]
mov dword [ebx], eax
add ebx, 4
dec edx
jne 0x4b4cc0
mov eax, dword [esp + 0xc]
dec eax
lea ebp, [ebp + eax + 1]
lea esi, [esi + eax + 1]
cmp dword [esp + 0x70], esi
jle 0x4b4d03
mov al, byte [ebp]
cmp al, 0xff
je 0x4b4d03
and eax, 0xff
add esi, eax
cmp dword [esp + 0x70], esi
jle 0x4b4d03
lea edx, [ebp + 1]
jmp 0x4b4c77
mov edx, dword [esp + 0x58]
add edx, 4
dec dword [esp + 0x18]
mov dword [esp + 0x58], edx
je 0x4b42b6
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
add eax, ebp
mov dword [esp + 0x1c], eax
jmp 0x4b4c40
mov ebx, dword [esp + 0xc]
mov esi, eax
add ebp, ebx
jmp 0x4b4ce1
sub ebp, esi
xor esi, esi
mov dword [esp + 0xc], eax
jmp 0x4b4c9b