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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff58
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x2b0]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2ac]
mov dword [esp + 8], eax
lea eax, [ebx + 0x29c]
call fcn.00466d08
sub eax, dword [ebx + 0x2b4]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x29c]
call fcn.00466d24
sub eax, dword [ebx + 0x2b8]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x68]
mov eax, ebx
call fcn.00489424
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, dword [esp + 0x78]
add ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0xc]
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x10]
call fcn.0041a568
lea eax, [esp + 0x78]
call fcn.00466d08
mov esi, eax
lea eax, [ebx + 0x29c]
call fcn.00466d08
sub esi, eax
mov dword [esp + 0x38], esi
lea eax, [esp + 0x78]
call fcn.00466d24
mov esi, eax
lea eax, [ebx + 0x29c]
call fcn.00466d24
sub esi, eax
mov dword [esp + 0x3c], esi
mov eax, dword [ebx + 0x30c]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x310]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x48]
mov eax, dword [ebx + 0x314]
add eax, dword [esp + 0x38]
mov edx, dword [ebx + 0x318]
call fcn.0041a540
lea ecx, [esp + 0x50]
mov edx, dword [ebx + 0x320]
add edx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x31c]
call fcn.0041a540
lea ecx, [esp + 0x58]
mov edx, dword [ebx + 0x328]
add edx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x324]
add eax, dword [esp + 0x38]
call fcn.0041a540
cmp dword [ebx + 0x354], 0xffffffff
je 0x4cf6b4
mov eax, dword [ebx + 0x27c]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebx + 0x354]
call fcn.0041bba4
mov esi, eax
cmp dword [ebx + 0x48], 0
jle 0x4d00b6
cmp dword [ebx + 0x4c], 0
jle 0x4d00b6
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx + 0x48]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 0x20], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x4c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4d00b6
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4cf6a5
inc eax
mov dword [esp + 0x64], eax
xor ebp, ebp
push esi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
imul ebp
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
imul edx, dword [esp + 0x24]
mov eax, dword [esp + 8]
pop ecx
call fcn.0042845c
inc ebp
dec dword [esp + 0x64]
jne 0x4cf67b
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4cf66c
jmp 0x4d00b6
lea eax, [ebx + 0x2ac]
call fcn.00466d08
mov esi, eax
lea eax, [ebx + 0x2ac]
call fcn.00466d24
mov edi, eax
lea eax, [esp + 0x78]
call fcn.00466d08
mov dword [esp + 0x28], eax
lea eax, [esp + 0x78]
call fcn.00466d24
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
cdq
idiv esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
cdq
idiv edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4cf837
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4cf829
inc eax
mov dword [esp + 0x64], eax
xor ebp, ebp
mov eax, dword [esp + 0x1c]
imul esi
add eax, esi
cmp eax, dword [esp + 0x28]
jle 0x4cf742
sub eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x4cf748
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, ebp
imul edi
add eax, edi
cmp eax, dword [esp + 0x2c]
jle 0x4cf75e
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x4cf764
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2a0]
add eax, dword [ebx + 0x2b8]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x29c]
add ecx, dword [ebx + 0x2b4]
sub ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x2a0]
add edx, dword [ebx + 0x2b0]
mov eax, dword [ebx + 0x29c]
add eax, dword [ebx + 0x2ac]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, ebp
imul edi
add eax, dword [esp + 0x80]
add eax, edi
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x28]
imul ecx, esi
add ecx, dword [esp + 0x84]
add ecx, esi
sub ecx, dword [esp + 0x44]
mov edx, ebp
imul edx, edi
add edx, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
imul eax, esi
add eax, dword [esp + 0x84]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
inc ebp
dec dword [esp + 0x64]
jne 0x4cf72a
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4cf717
lea eax, [ebx + 0x2fc]
call fcn.00466c18
test al, al
jne 0x4cfa32
cmp byte [ebx + 0x226], 2
jne 0x4cf870
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x34], eax
jmp 0x4cf8ed
cmp byte [ebx + 0x226], 3
jne 0x4cf8a1
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x48]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x34], eax
jmp 0x4cf8ed
cmp byte [ebx + 0x226], 0
jne 0x4cf8c7
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x30], eax
jmp 0x4cf8ed
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x4c]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x30], eax
lea eax, [ebx + 0x2fc]
call fcn.00466d08
mov esi, eax
lea eax, [ebx + 0x2fc]
call fcn.00466d24
mov edi, eax
mov eax, dword [esp + 0x30]
cdq
idiv esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
cdq
idiv edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4cfa32
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4cfa24
inc eax
mov dword [esp + 0x64], eax
xor ebp, ebp
mov eax, dword [esp + 0x1c]
imul esi
add eax, esi
cmp eax, dword [esp + 0x30]
jle 0x4cf961
sub eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x4cf967
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, ebp
imul edi
add eax, edi
cmp eax, dword [esp + 0x34]
jle 0x4cf97d
sub eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x4cf983
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x308]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x304]
sub ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x300]
mov eax, dword [ebx + 0x2fc]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, ebp
imul edi
add eax, dword [esp + 0x1c]
add eax, edi
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x28]
imul ecx, esi
add ecx, dword [esp + 0x20]
add ecx, esi
sub ecx, dword [esp + 0x44]
mov edx, ebp
imul edx, edi
add edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
imul eax, esi
add eax, dword [esp + 0x20]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
inc ebp
dec dword [esp + 0x64]
jne 0x4cf949
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4cf936
mov esi, dword [ebx + 0x314]
sub esi, dword [ebx + 0x30c]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
cdq
idiv esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4cfb50
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
imul esi
add eax, dword [esp + 0x40]
add eax, esi
cmp eax, dword [esp + 0x48]
jle 0x4cfa8e
mov eax, dword [esp + 0x1c]
imul esi
add eax, dword [esp + 0x40]
add eax, esi
sub eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
jmp 0x4cfa94
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x2a0]
add eax, dword [esp + 4]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x29c]
add ecx, dword [ebx + 0x314]
sub ecx, dword [esp + 0x40]
mov eax, dword [ebx + 0x29c]
add eax, dword [ebx + 0x30c]
mov edx, dword [ebx + 0x2a0]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 8]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x84]
add ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
imul esi
add ecx, eax
add ecx, esi
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
imul edx, esi
add eax, edx
mov edx, dword [esp + 0x88]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4cfa66
mov esi, dword [ebx + 0x324]
sub esi, dword [ebx + 0x31c]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
cdq
idiv esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4cfc6e
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
imul esi
add eax, dword [esp + 0x50]
add eax, esi
cmp eax, dword [esp + 0x58]
jle 0x4cfbac
mov eax, dword [esp + 0x1c]
imul esi
add eax, dword [esp + 0x50]
add eax, esi
sub eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
jmp 0x4cfbb2
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x2a8]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x29c]
add ecx, dword [ebx + 0x324]
sub ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x2a8]
sub edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x29c]
add eax, dword [ebx + 0x31c]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x84]
add ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
imul esi
add ecx, eax
add ecx, esi
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x28]
imul edx, esi
add eax, edx
mov edx, dword [esp + 0x90]
sub edx, dword [esp + 0x1c]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4cfb84
mov esi, dword [esp + 8]
mov edi, dword [ebx + 0x320]
sub edi, dword [ebx + 0x310]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x44]
cdq
idiv edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4cfd7c
inc eax
mov dword [esp + 0x60], eax
xor ebp, ebp
mov eax, ebp
imul edi
add eax, dword [esp + 0x44]
add eax, edi
cmp eax, dword [esp + 0x54]
jle 0x4cfcc4
mov eax, ebp
imul edi
add eax, dword [esp + 0x44]
add eax, edi
sub eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
jmp 0x4cfcca
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2a0]
add eax, dword [ebx + 0x320]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x29c]
add ecx, esi
mov edx, dword [ebx + 0x2a0]
add edx, dword [ebx + 0x310]
mov eax, dword [ebx + 0x29c]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x48]
mov edx, ebp
imul edx, edi
add eax, edx
add eax, edi
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
mov edx, dword [esp + 0x88]
add edx, dword [esp + 0x50]
mov eax, ebp
imul eax, edi
add edx, eax
mov ecx, dword [esp + 0x84]
add ecx, esi
mov eax, dword [esp + 0x84]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
inc ebp
dec dword [esp + 0x60]
jne 0x4cfca0
mov esi, dword [esp + 0xc]
mov edi, dword [ebx + 0x328]
sub edi, dword [ebx + 0x318]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x4c]
cdq
idiv edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4cfe8a
inc eax
mov dword [esp + 0x60], eax
xor ebp, ebp
mov eax, ebp
imul edi
add eax, dword [esp + 0x4c]
add eax, edi
cmp eax, dword [esp + 0x5c]
jle 0x4cfdd2
mov eax, ebp
imul edi
add eax, dword [esp + 0x4c]
add eax, edi
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
jmp 0x4cfdd8
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2a0]
add eax, dword [ebx + 0x328]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov edx, dword [ebx + 0x2a0]
add edx, dword [ebx + 0x318]
mov eax, dword [ebx + 0x2a4]
sub eax, esi
mov ecx, dword [ebx + 0x2a4]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x50]
mov edx, ebp
imul edx, edi
add eax, edx
add eax, edi
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
mov edx, dword [esp + 0x88]
add edx, dword [esp + 0x58]
mov eax, ebp
imul eax, edi
add edx, eax
mov eax, dword [esp + 0x8c]
sub eax, esi
mov ecx, dword [esp + 0x8c]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
inc ebp
dec dword [esp + 0x60]
jne 0x4cfdae
mov eax, dword [ebx + 0x2a0]
add eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x29c]
add ecx, dword [esp + 0x48]
mov edx, dword [ebx + 0x2a0]
mov eax, dword [ebx + 0x29c]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [ebx + 0x310]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x84]
add ecx, dword [ebx + 0x30c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
mov eax, dword [ebx + 0x2a0]
add eax, dword [ebx + 0x318]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx + 0x29c]
add eax, dword [ebx + 0x314]
mov ecx, dword [ebx + 0x2a4]
mov edx, dword [ebx + 0x2a0]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
mov eax, dword [ebx + 0x2a8]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x29c]
add ecx, dword [ebx + 0x31c]
mov edx, dword [ebx + 0x2a0]
add edx, dword [ebx + 0x320]
mov eax, dword [ebx + 0x29c]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x84]
add ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x88]
add edx, dword [esp + 0x60]
mov eax, dword [esp + 0x84]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
mov eax, dword [ebx + 0x2a8]
push eax
lea eax, [esp + 0x8c]
push eax
mov edx, dword [ebx + 0x2a0]
add edx, dword [ebx + 0x328]
mov eax, dword [ebx + 0x29c]
add eax, dword [ebx + 0x324]
mov ecx, dword [ebx + 0x2a4]
call fcn.0041a568
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push eax
lea eax, [esp + 0xa0]
push eax
mov edx, dword [esp + 0x88]
add edx, dword [esp + 0x68]
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x8c]
call fcn.0041a568
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x298]
call fcn.0042ced4
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004283d4
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret