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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x5700c4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004466ef
lea esi, [ebx + 0x158]
xor ecx, ecx
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x564]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
add edi, dword [ebx + 0x560]
sub esi, dword [ebx + 0x568]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebx + 0x56c]
mov dword [esp + 0x14], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], eax
cmp dword [ebx + 0x558], ecx
jne 0x47fe72
push ecx
push ecx
jmp 0x4803b0
mov ecx, dword [ebx + 0x588]
test ecx, ecx
je 0x47fe98
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x47fe98
mov ecx, dword [ebx + 0x588]
mov eax, dword [ecx]
call dword [eax + 0x7c]
sub esi, eax
mov dword [ebp + 0x10], esi
mov ecx, dword [ebx + 0x58c]
test ecx, ecx
je 0x47febf
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x47febf
mov ecx, dword [ebx + 0x58c]
mov eax, dword [ecx]
call dword [eax + 0x84]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x698]
test ecx, ecx
jle 0x47fed6
mov eax, esi
sub eax, edi
cdq
idiv ecx
mov dword [ebx + 0x6a0], eax
cmp dword [ebx + 0x6a0], 0
jne 0x47fee9
mov dword [ebx + 0x6a0], 1
mov eax, esi
and dword [esp + 0x10], 0
sub eax, edi
mov ecx, dword [ebx + 0x58c]
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x47ff2e
mov edx, dword [ecx]
call dword [edx + 0xf4]
test al, al
je 0x47ff2e
mov eax, dword [ebx + 0x58c]
mov eax, dword [eax + 0x558]
sub eax, edi
add eax, esi
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x34], eax
and dword [esp + 0x20], 0
and dword [esp + 0x1c], 0
mov ecx, dword [ebx + 0x588]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x47ff67
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x47ff67
mov eax, dword [ebx + 0x588]
mov edx, esi
sub edx, dword [eax + 0x560]
mov dword [esp + 0x28], edx
mov ecx, dword [ebx + 0x58c]
mov dword [esp + 0x38], edi
test ecx, ecx
je 0x47ff99
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x47ff99
mov eax, dword [ebx + 0x58c]
mov edx, edi
sub edx, dword [eax + 0x560]
mov dword [esp + 0x38], edx
mov edi, edx
mov dword [esp + 0x14], edx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x558], ecx
jle 0x4803aa
mov eax, dword [ebx + 0x554]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x30], esi
mov eax, dword [esi]
call dword [eax + 0xf4]
test al, al
je 0x480391
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
test al, al
je 0x47ffec
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x208]
jmp 0x480391
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x4801ae
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [ebx + 0x558]
jge 0x4801ae
mov eax, dword [ebx + 0x554]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov dword [esp + 0x3c], edi
mov eax, dword [edi]
call dword [eax + 0xf4]
test al, al
je 0x480195
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x120]
test al, al
jne 0x480195
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x6c]
mov edi, dword [esp + 0x18]
sub edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
je 0x480094
inc eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x480094
sub edi, dword [ebx + 0x570]
jmp 0x4800a3
mov eax, dword [ebx + 0x570]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp edi, eax
jge 0x4800bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x94]
cmp edi, eax
jle 0x4800d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov edi, eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x5c]
push 0x270f
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
cmp dword [esp + 0x5c], eax
jge 0x48010c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
cmp dword [esp + 0x5c], eax
jle 0x48012a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [esp + 0x60], eax
jge 0x480148
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, dword [esp + 0x60]
cmp edi, eax
jle 0x48016a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov edi, eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
cmp dword [esp + 0x20], eax
cmovg eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
je 0x4801aa
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [ebx + 0x558]
jl 0x480029
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x6c]
mov esi, dword [ebx + 0x570]
test esi, esi
jns 0x4801c7
add esi, 1
sar esi, 1
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
add ecx, esi
add eax, esi
add ecx, edi
sub dword [esp + 0x18], eax
mov edi, dword [esp + 0x1c]
mov eax, edi
cdq
idiv dword [ebx + 0x6a0]
mov dword [esp + 0x24], ecx
test edx, edx
jne 0x4801f6
sub ecx, esi
mov dword [esp + 0x24], ecx
inc edi
mov eax, edi
mov dword [esp + 0x1c], edi
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x48020c
add dword [esp + 0x18], esi
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
sub esi, ecx
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edi, eax
sub edi, dword [esp + 0x14]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
push esi
push edx
call dword [eax + 0x140]
mov eax, dword [esp + 0x54]
test eax, eax
cmove eax, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
test eax, eax
cmove eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x8c]
cmp dword [esp + 0x54], eax
jge 0x48027f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
cmp dword [esp + 0x54], eax
jle 0x48029d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
cmp dword [esp + 0x58], eax
jge 0x4802bb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa4]
cmp dword [esp + 0x58], eax
jle 0x4802d9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xa4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x44]
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x18]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x10]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [esp + 0x48], eax
add eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov dword [esp + 0x44], ecx
add ecx, dword [esp + 0x54]
push 1
sub esp, 0x10
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov eax, dword [esp + 0x1c]
cdq
idiv dword [ebx + 0x6a0]
test edx, edx
jne 0x480358
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x570]
add eax, dword [esp + 0x20]
add dword [esp + 0x28], eax
and dword [esp + 0x20], edx
jmp 0x480360
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x588]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x480391
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x480391
mov eax, dword [ebx + 0x588]
add esi, dword [eax + 0x560]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebx + 0x558]
jl 0x47ffab
push dword [esp + 0x10]
push 0
mov eax, dword [ebx]
lea esi, [ebp + 8]
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x20c]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5245
mov esp, ebp
pop ebp
ret 0x14