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

Disassembly:
push ebp
sub esp, 0x30
mov eax, 0x56bc93
call fcn.00566e38
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.0040f9bf
test al, al
jne 0x41ec09
mov eax, 0x80004001
jmp 0x41f114
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.005670b0
push 0
push esi
push edx
push eax
call fcn.005670b0
mov ecx, eax
mov dword [ebp + 0x2c], eax
or ecx, edx
mov dword [ebp + 0x30], edx
jne 0x41ec45
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ecx
jmp 0x41ec47
xor ecx, ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x2c], xmm0
cmp edi, ebx
ja 0x41edb1
mov eax, dword [ebp + 0x64]
cmp dword [eax], ecx
jne 0x41edb1
mov dword [ebp + 0x40], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
call fcn.00402365
push dword [ebp - 0x1c]
lea edx, [ebp + 0x40]
mov byte [ebp - 4], 7
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.0040f968
mov esi, eax
test esi, esi
jne 0x41ed3f
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x41eca9
mov esi, 0x80004001
jmp 0x41ed3f
and dword [ebp + 0x64], 0
mov edx, dword [eax]
lea ecx, [ebp + 0x64]
push ecx
push 0x57d534
push eax
mov byte [ebp - 4], 0xa
call dword [edx]
cmp dword [ebp + 0x64], 0
je 0x41ecd8
mov ecx, dword [ebp + 0x5c]
push 0
push dword [ebp + 0x64]
call fcn.00412f85
mov esi, eax
test esi, esi
jne 0x41ed2e
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.004202c8
mov esi, eax
test esi, esi
jne 0x41ed26
lea ecx, [ebp - 0xac]
call fcn.004224cd
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.0041f1b1
mov esi, eax
test esi, esi
je 0x41ed63
mov ecx, dword [ebp + 0x10]
call fcn.00542f70
mov eax, dword [ebp + 0x64]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41ed3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call fcn.00566e0e
pop ecx
mov ecx, dword [ebp + 0x40]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x41ed5c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x41f114
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00422344
mov ecx, dword [ebp + 0x10]
call fcn.00542f70
mov eax, dword [ebp + 0x64]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x41ed8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call fcn.00566e0e
pop ecx
mov eax, dword [ebp + 0x40]
mov dword [ebp - 4], 0x13
test eax, eax
je 0x41eda8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
jmp 0x41f041
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
push 0x78
mov dword [ebp - 4], ecx
mov eax, edi
pop ecx
mul ecx
push 0xffffffffffffffff
pop ecx
cmovb eax, ecx
mov dword [ebp + 0x40], edi
add eax, 4
cmovb eax, ecx
push eax
call fcn.00566e05
mov dword [ebp], eax
mov dword [esp], fcn.0041c2ff
lea esi, [eax + 4]
push 0x41c0cb
push edi
push 0x78
push esi
mov byte [ebp - 4], bl
mov dword [eax], edi
call fcn.00566e57
xor edx, edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x14], esi
call fcn.0055b450
test eax, eax
jne 0x41efb9
and dword [ebp + 4], eax
mov byte [ebp + 0x24], bl
test edi, edi
je 0x41efa0
and dword [ebp + 0xc], eax
xor esi, esi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
call fcn.00402365
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.0040f968
test eax, eax
jne 0x41efe8
mov eax, dword [ebp]
cmp dword [eax], 0
je 0x41efe1
and dword [ebp + 0x40], 0
mov eax, dword [eax]
lea edx, [ebp + 0x40]
push edx
push 0x57d534
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx]
cmp dword [ebp + 0x40], 0
je 0x41ee9f
mov ecx, dword [ebp + 0x5c]
push 0
push dword [ebp + 0x40]
call fcn.00412f85
test eax, eax
jne 0x41efcc
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 0x41eedb
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 0x41eef8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00566e0e
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 0x41ee2b
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.0041f3ec
cmp dword [ebx], 0
je 0x41ef50
inc dword [ebp + 0x18]
test eax, eax
jne 0x41f12d
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 0x41ef28
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x5c], eax
mov ecx, dword [esi + eax + 0x34]
call fcn.0055b430
test eax, eax
jne 0x41efb9
mov eax, dword [ebp + 0x5c]
mov eax, dword [esi + eax + 0x2c]
test eax, eax
jne 0x41f12d
inc ebx
add esi, 0x78
cmp ebx, edi
jb 0x41ef73
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0xac]
call fcn.004224cd
push 0
lea ecx, [ebp + 0x14]
call fcn.00422586
test eax, eax
je 0x41eff8
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x41f12f
mov ebx, eax
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 4
test eax, eax
je 0x41efea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41efea
mov ebx, 0x80004001
jmp 0x41efea
mov ebx, eax
push dword [ebp - 0x18]
call fcn.00566e0e
pop ecx
jmp 0x41f12f
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00422344
xor esi, esi
test edi, edi
je 0x41f035
mov edx, dword [ebp + 0x14]
add edx, 0xffffffb8
mov eax, dword [edx + 0x74]
test eax, eax
jne 0x41f12d
test esi, esi
je 0x41f02d
mov eax, dword [edx + 0x78]
cmp eax, dword [edx]
jne 0x41f128
inc esi
add edx, 0x78
cmp esi, edi
jb 0x41f013
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0041c354
push dword [ebp + 0x30]
mov eax, edi
mul dword [ebp + 0x28]
push dword [ebp + 0x2c]
push edx
push eax
call fcn.00566ff0
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 0x41f0e7
cmp byte [ebp + 0x68], 0
je 0x41f0d8
or eax, ecx
mov dword [ebp + 0x68], esi
mov ebx, ecx
jne 0x41f093
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.00421aed
mov ecx, dword [ebp + 0x60]
push edx
push eax
push dword [ebp + 0x54]
lea edx, [ebp - 0x5c]
call fcn.00421e83
mov ecx, dword [ebp + 0x60]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x41f114
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.00421aed
mov ecx, dword [ebp + 0x48]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x5c]
call fcn.0042105a
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 0x41f12f
mov ebx, eax
lea ecx, [ebp + 0x14]
call fcn.0041c354
mov eax, ebx
jmp 0x41f114