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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x4c7650]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
call fcn.0044d544
mov eax, dword [ebx + 0x4b0]
lea esi, [ebx + 0x154]
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]
add dword [ebp + 8], eax
mov eax, dword [ebx + 0x4b4]
add dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x4b8]
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x4bc]
sub dword [ebp + 0x14], eax
lea eax, [ebx + 0x4a4]
call fcn.0044c68a
test eax, eax
jne 0x473e7b
push eax
push eax
jmp 0x4743b1
mov ecx, dword [ebx + 0x4c8]
xor edi, edi
cmp ecx, edi
je 0x473ea1
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x473ea1
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x4cc]
cmp ecx, edi
je 0x473ec5
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x473ec5
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x4d0]
cmp ecx, edi
jle 0x473ede
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x4d8], eax
cmp dword [ebx + 0x4d8], edi
jne 0x473ef0
mov dword [ebx + 0x4d8], 1
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x4cc]
cdq
idiv dword [ebx + 0x4d8]
mov dword [esp + 0xc], edi
mov dword [esp + 0x50], eax
cmp ecx, edi
je 0x473f39
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x473f39
mov eax, dword [ebx + 0x4cc]
call fcn.00464f8a
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 8]
add eax, ecx
cdq
idiv dword [ebx + 0x4d8]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x4c8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
cmp ecx, edi
je 0x473f74
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x473f74
mov eax, dword [ebx + 0x4c8]
call fcn.004637a9
sub dword [esp + 0x20], eax
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
cmp ecx, edi
je 0x473fa8
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x473fa8
mov eax, dword [ebx + 0x4cc]
call fcn.004637a9
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x4a4]
mov dword [esp + 0x18], edi
call fcn.0044c68a
test eax, eax
jle 0x4743ac
mov ecx, dword [esp + 0x18]
lea edi, [ebx + 0x4a4]
mov eax, edi
call fcn.0044c6a3
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x54], esi
call dword [eax + 0xc0]
test al, al
je 0x474391
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xec]
test al, al
je 0x474009
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1a0]
jmp 0x474391
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
jne 0x4741b6
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0xc], ecx
call fcn.0044c68a
cmp ecx, eax
jge 0x4741b6
mov ecx, dword [esp + 0xc]
mov eax, edi
call fcn.0044c6a3
mov edi, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x3c], edi
call dword [eax + 0xc0]
test al, al
je 0x47419b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xec]
test al, al
jne 0x47419b
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov edi, dword [esp + 0x48]
sub edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
sub edi, dword [esp + 0x74]
sub edi, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
je 0x4740b8
inc eax
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
je 0x4740b8
sub edi, dword [ebx + 0x4c0]
jmp 0x4740c7
mov eax, dword [ebx + 0x4c0]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp edi, eax
jge 0x4740db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp edi, eax
jle 0x4740ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edi, eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, 0x270f
push eax
push edi
lea eax, [esp + 0x3c]
push eax
call dword [edx + 0x10c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0x34], eax
jge 0x47411f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x34], eax
jle 0x474137
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x38], eax
jge 0x47414f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x38], eax
jle 0x47416d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
add eax, ecx
cmp dword [esp + 0x24], eax
jg 0x474188
mov dword [esp + 0x24], eax
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
je 0x4741b6
inc dword [esp + 0xc]
lea edi, [ebx + 0x4a4]
mov eax, edi
call fcn.0044c68a
cmp dword [esp + 0xc], eax
jl 0x474049
mov eax, dword [esi]
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [ebx + 0x4c0]
mov ecx, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + ecx]
mov ecx, dword [ebx + 0x4d8]
mov dword [esp + 0xc], eax
add eax, dword [esp + 0x8c]
add edi, dword [esp + 0x1c]
sub dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
cdq
idiv ecx
test edx, edx
jne 0x474202
sub edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x3c], eax
cdq
idiv ecx
test edx, edx
jne 0x47421a
mov eax, dword [esp + 0xc]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
sub ecx, edx
sub eax, edi
push ecx
push eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x4c], edx
mov edx, dword [esi]
mov dword [esp + 0x68], ecx
push eax
mov ecx, esi
call dword [edx + 0x10c]
cmp dword [esp + 0x10], 0
jne 0x474265
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
jne 0x474274
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x47428c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jle 0x4742a4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4742bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jle 0x4742da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
sub eax, ecx
add eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x14]
sar edi, 1
add eax, dword [esp + 0x44]
mov dword [esp + 0x64], edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x68], eax
add eax, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
mov dword [esp + 0x6c], edi
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x74]
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 + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
cdq
idiv dword [ebx + 0x4d8]
test edx, edx
jne 0x474359
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x4c0]
add eax, dword [esp + 0x24]
add dword [esp + 0x20], eax
and dword [esp + 0x24], edx
jmp 0x474361
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x4c8]
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x474391
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x474391
mov eax, dword [ebx + 0x4c8]
call fcn.004637a9
add dword [esp + 0xc], eax
inc dword [esp + 0x18]
lea eax, [ebx + 0x4a4]
call fcn.0044c68a
cmp dword [esp + 0x18], eax
jl 0x473fbf
xor edi, edi
push dword [esp + 0xc]
push edi
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1a4]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004799e1
mov esp, ebp
pop ebp
ret 0x10