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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0xc], esi
mov ecx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x64]
mov eax, dword [edi]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x10], ebx
jbe 0x43163c
mov eax, dword [esi + 0x30]
mov edx, ecx
shl edx, 2
cmp dword [edx + eax], ebx
je 0x431607
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*8]
mov ecx, dword [esi + 0x30]
mov dword [edx + ecx], eax
mov ecx, dword [esi + 0x4c]
add ecx, edx
call fcn.00408402
mov ecx, dword [edi + 4]
mov dword [ebp - 8], eax
cmp dword [edi + 8], ecx
je 0x431624
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x431630
lea eax, [ebp - 8]
push eax
push ecx
mov ecx, edi
call fcn.00430788
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [esi + 0x10]
jb 0x4315ee
mov ecx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], ebx
jbe 0x431698
mov eax, dword [esi + 0x3c]
mov edx, ecx
shl edx, 2
cmp dword [edx + eax], ebx
je 0x43165f
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*8]
mov ecx, dword [esi + 0x3c]
mov dword [edx + ecx], eax
mov ecx, dword [esi + 0x58]
add ecx, edx
call fcn.00408402
mov ecx, dword [esi + 0x74]
mov dword [ebp - 8], eax
cmp dword [esi + 0x78], ecx
je 0x43167c
mov dword [ecx], eax
add dword [esi + 0x74], 4
jmp 0x431689
lea eax, [ebp - 8]
push eax
push ecx
lea ecx, [esi + 0x70]
call fcn.00430788
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [esi + 0x14]
jb 0x431646
lea edi, [esi + 0x64]
lea ecx, [esi + 8]
push ecx
call fcn.0040846d
test al, al
je 0x4316d6
call fcn.00408402
mov ecx, dword [esi + 0x3c]
mov ebx, eax
push dword [ebp + 8]
mov edx, dword [esi + 0x30]
mov esi, dword [esi + 0x70]
push dword [ecx]
mov edi, dword [edi]
mov ecx, ebx
push dword [edx]
mov eax, dword [ebx]
push dword [esi]
push dword [edi]
call dword [eax + 0x10]
mov esi, dword [ebp - 0xc]
xor ebx, ebx
mov dword [esi + 0x48], eax
jmp 0x431802
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x431744
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
sub eax, edx
sar eax, 2
cmp ebx, eax
jae 0x431719
mov edx, dword [edx + ebx*4]
test edx, edx
je 0x431719
mov eax, dword [ecx + ebx*4]
mov dword [ebp - 0x34], eax
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
jmp 0x43172a
mov eax, dword [ecx + ebx*4]
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
movlpd qword [ebp - 0x3c], xmm0
push eax
lea ecx, [ebp - 0x24]
call fcn.00430525
mov eax, dword [edi + 4]
inc ebx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4316ed
xor ebx, ebx
mov eax, dword [esi + 0x74]
mov edi, ebx
mov ecx, dword [esi + 0x70]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x4317b4
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x43178a
mov edx, dword [edx + edi*4]
test edx, edx
je 0x43178a
mov eax, dword [ecx + edi*4]
mov dword [ebp - 0x34], eax
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
jmp 0x43179b
mov eax, dword [ecx + edi*4]
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
movlpd qword [ebp - 0x3c], xmm0
push eax
lea ecx, [ebp - 0x18]
call fcn.00430525
mov eax, dword [esi + 0x74]
inc edi
mov ecx, dword [esi + 0x70]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x43175e
lea ecx, [esi + 0xc]
call fcn.00408402
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x48], eax
test ecx, ecx
je 0x4317ee
mov edx, dword [ebp - 0x10]
sub edx, ecx
and edx, 0xfffffff0
call fcn.00402261
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x431802
mov edx, dword [ebp - 0x1c]
sub edx, ecx
and edx, 0xfffffff0
call fcn.00402261
mov eax, dword [esi + 0x50]
mov edi, ebx
sub eax, dword [esi + 0x4c]
sar eax, 2
test eax, eax
je 0x43182a
mov eax, dword [esi + 0x4c]
lea ecx, [eax + edi*4]
call fcn.0041ee93
mov eax, dword [esi + 0x50]
inc edi
sub eax, dword [esi + 0x4c]
sar eax, 2
cmp edi, eax
jb 0x431811
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x58]
sar eax, 2
test eax, eax
je 0x431850
mov eax, dword [esi + 0x58]
lea ecx, [eax + ebx*4]
call fcn.0041ee93
mov eax, dword [esi + 0x5c]
inc ebx
sub eax, dword [esi + 0x58]
sar eax, 2
cmp ebx, eax
jb 0x431837
pop edi
pop esi
pop ebx
leave
ret 4