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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x84
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.004c5f30
mov esi, dword [ebx + 0x278]
mov eax, dword [ebx + 0x27c]
mov edx, dword [ebx + 0x280]
mov ecx, dword [ebx + 0x284]
add esi, dword [ebx + 0x65c]
add eax, dword [ebx + 0x660]
sub edx, dword [ebx + 0x664]
sub ecx, dword [ebx + 0x668]
xor edi, edi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
cmp dword [ebx + 0x654], edi
jne 0x4fd7c4
push edi
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x230]
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebx + 0x678]
cmp ecx, edi
je 0x4fd7ec
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4fd7ec
mov ecx, dword [ebx + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x67c]
cmp ecx, edi
je 0x4fd814
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4fd814
mov ecx, dword [ebx + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x680]
cmp ecx, edi
jle 0x4fd82d
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x688], eax
cmp dword [ebx + 0x688], edi
jne 0x4fd83f
mov dword [ebx + 0x688], 1
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x67c]
cdq
idiv dword [ebx + 0x688]
mov dword [esp + 0xc], edi
mov dword [esp + 0x50], eax
cmp ecx, edi
je 0x4fd889
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4fd889
mov ecx, dword [ebx + 0x67c]
mov eax, dword [ecx + 0x650]
sub eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebx + 0x688]
mov dword [esp + 0x50], eax
mov ecx, dword [ebx + 0x678]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
cmp ecx, edi
je 0x4fd8c7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4fd8c7
mov eax, dword [ebx + 0x678]
sub esi, dword [eax + 0x654]
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx + 0x67c]
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], esi
cmp ecx, edi
je 0x4fd8fa
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4fd8fa
mov ecx, dword [ebx + 0x67c]
sub esi, dword [ecx + 0x654]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
xor esi, esi
cmp dword [ebx + 0x654], edi
mov dword [esp + 0x2c], esi
jle 0x4fdd25
lea esp, [esp]
mov edx, dword [ebx + 0x650]
mov edi, dword [edx + esi*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
test al, al
je 0x4fdd12
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
mov ecx, edi
call edx
test al, al
je 0x4fd94f
mov eax, dword [ebx]
mov edx, dword [eax + 0x22c]
push esi
mov ecx, ebx
call edx
jmp 0x4fdd12
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x688]
test edx, edx
jne 0x4fdb12
cmp esi, dword [ebx + 0x654]
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], esi
jge 0x4fdb12
mov edx, dword [ebx + 0x650]
mov eax, dword [esp + 0xc]
mov esi, dword [edx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
mov dword [esp + 0x3c], esi
call eax
test al, al
je 0x4fdafd
mov edx, dword [esi]
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
test al, al
jne 0x4fdafd
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call edx
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
sub esi, dword [esp + 0x60]
sub esi, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
je 0x4fd9ff
inc eax
cdq
idiv dword [ebx + 0x688]
test edx, edx
je 0x4fd9ff
sub esi, dword [ebx + 0x66c]
jmp 0x4fda0e
mov eax, dword [ebx + 0x66c]
cdq
sub eax, edx
sar eax, 1
neg eax
add esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp esi, eax
jge 0x4fda26
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp esi, eax
jle 0x4fda3e
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov esi, eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x134]
mov eax, 0x270f
push eax
push esi
lea eax, [esp + 0x38]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
cmp dword [esp + 0x30], eax
jge 0x4fda74
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
cmp dword [esp + 0x30], eax
jle 0x4fda90
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
cmp dword [esp + 0x34], eax
jge 0x4fdaac
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x4fdad2
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
add edx, eax
lea eax, [edx + ecx]
cmp dword [esp + 0x20], eax
jg 0x4fdae9
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cdq
idiv dword [ebx + 0x688]
test edx, edx
je 0x4fdb12
mov eax, dword [esp + 0xc]
inc eax
cmp eax, dword [ebx + 0x654]
mov dword [esp + 0xc], eax
jl 0x4fd98a
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebx + 0x66c]
mov ecx, dword [esp + 0x70]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
lea esi, [eax + ecx]
mov ecx, dword [ebx + 0x688]
mov dword [esp + 0xc], eax
add eax, edx
sub dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
cdq
idiv ecx
add esi, dword [esp + 0x18]
test edx, edx
jne 0x4fdb59
sub esi, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x3c], eax
cdq
idiv ecx
test edx, edx
jne 0x4fdb71
mov eax, dword [esp + 0xc]
add dword [esp + 0x48], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
sub ecx, edx
sub eax, esi
push ecx
mov dword [esp + 0x48], edx
mov edx, dword [edi]
mov edx, dword [edx + 0x134]
push eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x64], ecx
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x10], 0
jne 0x4fdbbc
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
jne 0x4fdbcb
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
cmp dword [esp + 0x10], eax
jge 0x4fdbe7
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
cmp dword [esp + 0x10], eax
jle 0x4fdc03
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov dword [esp + 0x10], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x14], eax
jge 0x4fdc1f
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4fdc45
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x10]
sub esp, 0x10
add eax, esi
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
add eax, dword [esp + 0x54]
sar esi, 1
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add ecx, eax
mov dword [esp + 0x9c], ecx
mov ecx, esp
add edx, esi
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x98]
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 0xc], eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
cdq
idiv dword [ebx + 0x688]
test edx, edx
jne 0x4fdcd1
mov ecx, dword [ebx + 0x66c]
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jmp 0x4fdcd9
mov edx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x4c]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x678]
mov esi, eax
mov dword [esp + 0xc], esi
test ecx, ecx
je 0x4fdd0e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4fdd0e
mov eax, dword [ebx + 0x678]
add esi, dword [eax + 0x654]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x2c]
inc esi
cmp esi, dword [ebx + 0x654]
mov dword [esp + 0x2c], esi
jl 0x4fd910
xor edi, edi
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x230]
push eax
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10