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

Disassembly:
push ebp
sub esp, 0x30
mov eax, 0x56b255
call fcn.00566548
sub esp, 0xa0
push ebx
push esi
xor ebx, ebx
mov esi, edx
push edi
inc ebx
mov dword [ebp + 0x28], esi
test ecx, ecx
lea edx, [ebp - 0x20]
mov edi, ebx
cmovne edi, ecx
mov ecx, dword [ebp + 0x5c]
add ecx, 0xc
mov dword [ebp - 0x24], edi
call fcn.0040fa20
test al, al
jne 0x41ecce
mov eax, 0x80004001
jmp 0x41f1e2
mov ecx, dword [ebp + 0x3c]
test esi, esi
mov eax, dword [ebp + 0x40]
push 0
push dword [ebp + 0x50]
cmove esi, ebx
shld eax, ecx, 8
shl ecx, 8
push eax
push ecx
call fcn.005667c0
push 0
push esi
push edx
push eax
call fcn.005667c0
mov ecx, eax
mov dword [ebp + 0x2c], eax
or ecx, edx
mov dword [ebp + 0x30], edx
jne 0x41ed0a
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ecx
jmp 0x41ed0c
xor ecx, ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x2c], xmm0
cmp edi, ebx
ja 0x41ee76
mov eax, dword [ebp + 0x64]
cmp dword [eax], ecx
jne 0x41ee76
mov dword [ebp + 0x40], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
call fcn.0040238d
push dword [ebp - 0x1c]
lea edx, [ebp + 0x40]
mov byte [ebp - 4], 7
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.0040f9c9
mov esi, eax
test esi, esi
jne 0x41ee04
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x41ed6e
mov esi, 0x80004001
jmp 0x41ee04
and dword [ebp + 0x64], 0
mov edx, dword [eax]
lea ecx, [ebp + 0x64]
push ecx
push 0x57c534
push eax
mov byte [ebp - 4], 0xa
call dword [edx]
cmp dword [ebp + 0x64], 0
je 0x41ed9d
mov ecx, dword [ebp + 0x5c]
push 0
push dword [ebp + 0x64]
call fcn.00412ff6
mov esi, eax
test esi, esi
jne 0x41edf3
xor eax, eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x24], eax
push dword [ebp + 0x28]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xd
push dword [ebp + 0x44]
mov byte [ebp + 0x20], al
call fcn.00420399
mov esi, eax
test esi, esi
jne 0x41edeb
lea ecx, [ebp - 0xac]
call fcn.0042259c
push dword [ebp + 0x60]
lea ecx, [ebp + 0x10]
push dword [ebp + 0x40]
push dword [ebp + 0x58]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
call fcn.0041f27f
mov esi, eax
test esi, esi
je 0x41ee28
mov ecx, dword [ebp + 0x10]
call fcn.00542940
mov eax, dword [ebp + 0x64]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41ee04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call fcn.0056651e
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x41ee21
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x41f1e2
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00422413
mov ecx, dword [ebp + 0x10]
call fcn.00542940
mov eax, dword [ebp + 0x64]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x41ee50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call fcn.0056651e
pop ecx
mov eax, dword [ebp + 0x40]
mov dword [ebp - 4], 0x13
test eax, eax
je 0x41ee6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
jmp 0x41f10f
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], ecx
mov byte [ebp + 0x1c], cl
mov dword [ebp + 0x20], ecx
mov byte [ebp + 0x24], cl
mov dword [ebp - 4], ecx
mov eax, edi
xor ecx, ecx
mov dword [ebp + 0x40], edi
push 0x78
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00566515
mov dword [ebp], eax
mov dword [esp], fcn.0041c398
lea esi, [eax + 4]
push 0x41c164
push edi
push 0x78
push esi
mov byte [ebp - 4], bl
mov dword [eax], edi
call fcn.00566567
xor edx, edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x14], esi
call fcn.0055ab60
test eax, eax
jne 0x41f087
and dword [ebp + 4], eax
mov byte [ebp + 0x24], bl
test edi, edi
je 0x41f06e
and dword [ebp + 0xc], eax
xor esi, esi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
call fcn.0040238d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x1c]
add eax, 0x28
mov byte [ebp - 4], 2
push dword [ebp - 0x20]
add eax, esi
mov edx, eax
mov dword [ebp], eax
call fcn.0040f9c9
test eax, eax
jne 0x41f0b6
mov eax, dword [ebp]
cmp dword [eax], 0
je 0x41f0af
and dword [ebp + 0x40], 0
mov eax, dword [eax]
lea edx, [ebp + 0x40]
push edx
push 0x57c534
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx]
cmp dword [ebp + 0x40], 0
je 0x41ef6d
mov ecx, dword [ebp + 0x5c]
push 0
push dword [ebp + 0x40]
call fcn.00412ff6
test eax, eax
jne 0x41f09a
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x60]
mov dword [esi + ecx + 4], eax
mov eax, dword [ebp + 0x44]
mov dword [esi + ecx + 0xc], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + ecx + 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + ecx + 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + ecx + 0x10], eax
mov eax, dword [ebp + 0x58]
mov byte [esi + ecx + 0x20], 0
test eax, eax
je 0x41efa9
mov eax, dword [eax]
mov dword [esi + ecx + 0x24], eax
mov byte [esi + ecx + 0x20], bl
mov eax, dword [ebp + 0xc]
and eax, 0x7ff
mov dword [esi + ecx + 0x74], eax
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 5
test eax, eax
je 0x41efc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0056651e
mov eax, dword [ebp + 4]
add esi, 0x78
sub dword [ebp + 0xc], 0x2c0
inc eax
mov dword [ebp + 4], eax
pop ecx
cmp eax, edi
jb 0x41eef9
xor ecx, ecx
xor edx, edx
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x44], edx
mov ebx, dword [ebp + 0x14]
lea eax, [ebp + 0x1c]
mov esi, dword [ebp + 0x64]
add ebx, edx
push 7
mov dword [ebx + 0x38], ecx
lea edi, [ebx + 0x40]
pop ecx
mov dword [ebx + 0x3c], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0041f4ba
cmp dword [ebx], 0
je 0x41f01e
inc dword [ebp + 0x18]
test eax, eax
jne 0x41f1fb
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x44]
inc ecx
mov edi, dword [ebp - 0x24]
add edx, 0x78
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x44], edx
cmp ecx, edi
jb 0x41eff6
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x5c], eax
mov ecx, dword [esi + eax + 0x34]
call fcn.0055ab40
test eax, eax
jne 0x41f087
mov eax, dword [ebp + 0x5c]
mov eax, dword [esi + eax + 0x2c]
test eax, eax
jne 0x41f1fb
inc ebx
add esi, 0x78
cmp ebx, edi
jb 0x41f041
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0xac]
call fcn.0042259c
push 0
lea ecx, [ebp + 0x14]
call fcn.00422655
test eax, eax
je 0x41f0c6
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x41f1fd
mov ebx, eax
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 4
test eax, eax
je 0x41f0b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41f0b8
mov ebx, 0x80004001
jmp 0x41f0b8
mov ebx, eax
push dword [ebp - 0x18]
call fcn.0056651e
pop ecx
jmp 0x41f1fd
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00422413
xor esi, esi
test edi, edi
je 0x41f103
mov edx, dword [ebp + 0x14]
add edx, 0xffffffb8
mov eax, dword [edx + 0x74]
test eax, eax
jne 0x41f1fb
test esi, esi
je 0x41f0fb
mov eax, dword [edx + 0x78]
cmp eax, dword [edx]
jne 0x41f1f6
inc esi
add edx, 0x78
cmp esi, edi
jb 0x41f0e1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0041c3ed
push dword [ebp + 0x30]
mov eax, edi
mul dword [ebp + 0x28]
push dword [ebp + 0x2c]
push edx
push eax
call fcn.00566700
and dword [ebp - 0x28], 0
mov ecx, edx
cmp dword [ebp + 0x60], 0
mov esi, eax
mov dword [ebp + 0x5c], ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ebx
je 0x41f1b5
cmp byte [ebp + 0x68], 0
je 0x41f1a6
or eax, ecx
mov dword [ebp + 0x68], esi
mov ebx, ecx
jne 0x41f161
mov eax, dword [ebp + 0x30]
mul edi
mov ebx, eax
mov eax, dword [ebp + 0x2c]
mul edi
add ebx, edx
mov dword [ebp + 0x68], eax
push dword [ebp + 0x6c]
mov eax, ebx
mul dword [ebp + 0x50]
push dword [ebp + 0x78]
mov ecx, eax
mov eax, dword [ebp + 0x68]
push dword [ebp + 0x74]
mul dword [ebp + 0x50]
push dword [ebp + 0x70]
add ecx, edx
push dword [ebp - 0x58]
shrd eax, ecx, 8
push dword [ebp - 0x5c]
shr ecx, 8
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push ecx
push eax
call fcn.00421bbc
mov ecx, dword [ebp + 0x60]
push edx
push eax
push dword [ebp + 0x54]
lea edx, [ebp - 0x5c]
call fcn.00421f52
mov ecx, dword [ebp + 0x60]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x41f1e2
mov ecx, dword [ebp + 0x5c]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push ecx
push esi
call fcn.00421bbc
mov ecx, dword [ebp + 0x48]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x5c]
call fcn.00421129
mov ecx, dword [ebp + 0x4c]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x34
leave
ret 0x40
xor ebx, ebx
inc ebx
jmp 0x41f1fd
mov ebx, eax
lea ecx, [ebp + 0x14]
call fcn.0041c3ed
mov eax, ebx
jmp 0x41f1e2