Function at 0x4c0f8c
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 + 0x284]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x280]
mov dword [esp + 8], eax
lea eax, [ebx + 0x270]
call fcn.00489a38
sub eax, dword [ebx + 0x288]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x270]
call fcn.00489a58
sub eax, dword [ebx + 0x28c]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x68]
mov eax, ebx
call fcn.0045f584
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.00410180
lea eax, [esp + 0x78]
call fcn.00489a38
mov esi, eax
lea eax, [ebx + 0x270]
call fcn.00489a38
sub esi, eax
mov dword [esp + 0x38], esi
lea eax, [esp + 0x78]
call fcn.00489a58
mov esi, eax
lea eax, [ebx + 0x270]
call fcn.00489a58
sub esi, eax
mov dword [esp + 0x3c], esi
mov eax, dword [ebx + 0x2e0]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x2e4]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x48]
mov eax, dword [ebx + 0x2e8]
add eax, dword [esp + 0x38]
mov edx, dword [ebx + 0x2ec]
call fcn.00410168
lea ecx, [esp + 0x50]
mov edx, dword [ebx + 0x2f4]
add edx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x2f0]
call fcn.00410168
lea ecx, [esp + 0x58]
mov edx, dword [ebx + 0x2fc]
add edx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x2f8]
add eax, dword [esp + 0x38]
call fcn.00410168
cmp dword [ebx + 0x328], 0xffffffff
je 0x4c116f
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x80]
mov edx, dword [ebx + 0x328]
call fcn.00410de8
mov esi, eax
cmp dword [ebx + 0x38], 0
jle 0x4c1b71
cmp dword [ebx + 0x3c], 0
jle 0x4c1b71
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx + 0x38]
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 + 0x3c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4c1b71
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4c1160
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.0041b7f0
inc ebp
dec dword [esp + 0x64]
jne 0x4c1136
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4c1127
jmp 0x4c1b71
lea eax, [ebx + 0x280]
call fcn.00489a38
mov esi, eax
lea eax, [ebx + 0x280]
call fcn.00489a58
mov edi, eax
lea eax, [esp + 0x78]
call fcn.00489a38
mov dword [esp + 0x28], eax
lea eax, [esp + 0x78]
call fcn.00489a58
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 0x4c12f2
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4c12e4
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 0x4c11fd
sub eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x4c1203
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, ebp
imul edi
add eax, edi
cmp eax, dword [esp + 0x2c]
jle 0x4c1219
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x4c121f
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x274]
add eax, dword [ebx + 0x28c]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x270]
add ecx, dword [ebx + 0x288]
sub ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x274]
add edx, dword [ebx + 0x284]
mov eax, dword [ebx + 0x270]
add eax, dword [ebx + 0x280]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
inc ebp
dec dword [esp + 0x64]
jne 0x4c11e5
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4c11d2
lea eax, [ebx + 0x2d0]
call fcn.00489940
test al, al
jne 0x4c14ed
cmp byte [ebx + 0x20e], 2
jne 0x4c132b
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 + 0x3c]
mov dword [esp + 0x34], eax
jmp 0x4c13a8
cmp byte [ebx + 0x20e], 3
jne 0x4c135c
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x38]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x34], eax
jmp 0x4c13a8
cmp byte [ebx + 0x20e], 0
jne 0x4c1382
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 + 0x38]
mov dword [esp + 0x30], eax
jmp 0x4c13a8
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x3c]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
lea eax, [ebx + 0x2d0]
call fcn.00489a38
mov esi, eax
lea eax, [ebx + 0x2d0]
call fcn.00489a58
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 0x4c14ed
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x4c14df
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 0x4c141c
sub eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x4c1422
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, ebp
imul edi
add eax, edi
cmp eax, dword [esp + 0x34]
jle 0x4c1438
sub eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x4c143e
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2dc]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x2d8]
sub ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x2d4]
mov eax, dword [ebx + 0x2d0]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
inc ebp
dec dword [esp + 0x64]
jne 0x4c1404
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4c13f1
mov esi, dword [ebx + 0x2e8]
sub esi, dword [ebx + 0x2e0]
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 0x4c160b
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 0x4c1549
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 0x4c154f
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x274]
add eax, dword [esp + 4]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x270]
add ecx, dword [ebx + 0x2e8]
sub ecx, dword [esp + 0x40]
mov eax, dword [ebx + 0x270]
add eax, dword [ebx + 0x2e0]
mov edx, dword [ebx + 0x274]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4c1521
mov esi, dword [ebx + 0x2f8]
sub esi, dword [ebx + 0x2f0]
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 0x4c1729
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 0x4c1667
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 0x4c166d
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x270]
add ecx, dword [ebx + 0x2f8]
sub ecx, dword [esp + 0x40]
mov edx, dword [ebx + 0x27c]
sub edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x270]
add eax, dword [ebx + 0x2f0]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
inc dword [esp + 0x1c]
dec dword [esp + 0x60]
jne 0x4c163f
mov esi, dword [esp + 8]
mov edi, dword [ebx + 0x2f4]
sub edi, dword [ebx + 0x2e4]
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 0x4c1837
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 0x4c177f
mov eax, ebp
imul edi
add eax, dword [esp + 0x44]
add eax, edi
sub eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
jmp 0x4c1785
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x274]
add eax, dword [ebx + 0x2f4]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x270]
add ecx, esi
mov edx, dword [ebx + 0x274]
add edx, dword [ebx + 0x2e4]
mov eax, dword [ebx + 0x270]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
inc ebp
dec dword [esp + 0x60]
jne 0x4c175b
mov esi, dword [esp + 0xc]
mov edi, dword [ebx + 0x2fc]
sub edi, dword [ebx + 0x2ec]
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 0x4c1945
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 0x4c188d
mov eax, ebp
imul edi
add eax, dword [esp + 0x4c]
add eax, edi
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
jmp 0x4c1893
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x274]
add eax, dword [ebx + 0x2fc]
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x8c]
push eax
mov edx, dword [ebx + 0x274]
add edx, dword [ebx + 0x2ec]
mov eax, dword [ebx + 0x278]
sub eax, esi
mov ecx, dword [ebx + 0x278]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
inc ebp
dec dword [esp + 0x60]
jne 0x4c1869
mov eax, dword [ebx + 0x274]
add eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x270]
add ecx, dword [esp + 0x48]
mov edx, dword [ebx + 0x274]
mov eax, dword [ebx + 0x270]
call fcn.00410180
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [ebx + 0x2e4]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [esp + 0x84]
add ecx, dword [ebx + 0x2e0]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
call fcn.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
mov eax, dword [ebx + 0x274]
add eax, dword [ebx + 0x2ec]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx + 0x270]
add eax, dword [ebx + 0x2e8]
mov ecx, dword [ebx + 0x278]
mov edx, dword [ebx + 0x274]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
mov eax, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, dword [ebx + 0x270]
add ecx, dword [ebx + 0x2f0]
mov edx, dword [ebx + 0x274]
add edx, dword [ebx + 0x2f4]
mov eax, dword [ebx + 0x270]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
mov eax, dword [ebx + 0x27c]
push eax
lea eax, [esp + 0x8c]
push eax
mov edx, dword [ebx + 0x274]
add edx, dword [ebx + 0x2fc]
mov eax, dword [ebx + 0x270]
add eax, dword [ebx + 0x2f8]
mov ecx, dword [ebx + 0x278]
call fcn.00410180
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.00410180
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x26c]
call fcn.00420320
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.0041b768
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret