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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov dword [esp + 0x74], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], 4
and dword [esp + 0x38], 0
mov ebx, dword [ebp + 0xc]
and dword [esp + 0x3c], 0
lea esi, [esp + 0xb0]
mov dword [esp + 4], ecx
mov ecx, esi
call fcn.004030c7
push 9
pop ecx
lea eax, [esp + 0x8c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
mov ecx, eax
call fcn.00402cb4
test eax, eax
je 0x41ac7f
mov ecx, dword [esp + 0x74]
mov eax, dword [eax]
mov edx, dword [ebx]
mov ecx, dword [ecx]
imul ecx, eax
test eax, eax
lea esi, [ecx + 0x64]
mov dword [esp + 0x78], ecx
cmovne esi, ecx
mov ecx, edi
push 0
push esi
push 0
push 0
call fcn.004454b0
add esp, 0x10
cmp dword [esp + 0x10], 1
je 0x41ac65
mov ecx, edi
mov edx, ebx
call fcn.0040f835
cmp byte [esp + 0x10], 1
je 0x41ac65
movzx ecx, byte [esp + 0x11]
call fcn.0041c473
cmp al, 4
movzx eax, al
push 0xb
pop ecx
cmove eax, ecx
movzx edx, al
je 0x41ac9a
mov ecx, edi
push ebx
call fcn.0041c49c
pop eax
cmp dword [esp + 0x10], 1
je 0x41ac65
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x80]
mov edx, ebx
shr eax, 0x10
push eax
call fcn.0041bca4
pop eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc]
lea edx, [ecx + esi*2]
mov dword [esp + 0x4c], ecx
add ecx, 2
mov dword [esp + 0x70], edx
mov dword [esp + 0x50], edx
mov edx, esi
add edx, esi
lea esi, [esp + 0x58]
test edx, edx
mov dword [esp + 0xc], eax
je 0x41abbe
movzx eax, word [ecx - 2]
mov dword [esp + 0x54], edx
mov edx, dword [ebx]
mov dword [esp + 8], ecx
mov ecx, edi
add eax, dword [esp + 0x78]
push 0
push eax
push 0
push 0
call fcn.004454b0
add esp, 0x10
cmp dword [esp + 0x10], 1
je 0x41abdb
xor eax, eax
and dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x28]
mov edx, edi
inc eax
mov dword [esp + 0x58], eax
and dword [esp + 0x5c], 0
and dword [esp + 0x60], 0
push esi
call fcn.004083f3
pop eax
xor eax, eax
inc eax
cmp dword [esp + 0x28], eax
je 0x41abfd
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
call fcn.0041cec2
mov ebx, edi
movzx edi, cl
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], eax
mov edx, edi
push 0x45ac00
call fcn.0040b26d
pop ecx
mov ecx, eax
call fcn.0041cec2
movzx eax, cl
mov edx, dword [esi]
mov ecx, ebx
add eax, edi
mov edi, 0
add eax, 0xfffffff0
adc edi, 0xffffffff
push edi
push eax
push 0
push 2
call fcn.004454b0
add esp, 0x10
cmp dword [esp + 0x10], 1
je 0x41ac07
mov eax, dword [esp + 0x7c]
xor edi, edi
lea ecx, [esp + 0x28]
mov edx, ebx
inc edi
mov dword [esp + 0x64], edi
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x18], esi
push eax
call fcn.004083f3
pop eax
cmp dword [esp + 0x28], edi
je 0x41ac19
mov eax, dword [esp + 0x6c]
movsd xmm0, qword [esp + 0x64]
lea edi, [esp + 0x18]
mov ecx, ebx
mov dword [edi + 8], eax
movsd qword [edi], xmm0
and dword [esp + 0x14], 0
and dword [esp + 0x10], 0
call fcn.0041ce40
mov esi, eax
movzx edx, cl
mov ecx, edi
push eax
call fcn.0040b288
pop ecx
mov ebx, edx
mov edi, eax
lea ecx, [esp + 0x18]
mov edx, esi
push 0x45ac20
call fcn.0040b26d
pop ecx
push edx
push eax
push ebx
push edi
push dword [ebp + 0x10]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x14]
call dword [eax + 0xc]
add esp, 0x18
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], eax
call fcn.00435706
lea esi, [esp + 0x58]
mov ecx, esi
call fcn.00435706
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x38]
jne 0x41ab41
mov ecx, eax
inc ecx
je 0x41acb1
add eax, eax
cmp eax, ecx
cmova ecx, eax
push 4
pop eax
cmp ecx, eax
cmovbe ecx, eax
xor esi, esi
mov eax, ecx
push 0xc
pop ecx
mul ecx
mov ecx, eax
jo 0x41ab20
push 4
pop edx
call fcn.00406437
mov esi, edx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x41ab47
mov edx, dword [esp + 0x34]
imul ecx, ecx, 0xc
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 4
jmp 0x41ab4c
mov ecx, dword [esp + 0x34]
jmp 0x41ab89
and dword [esp + 0x10], 0
mov edx, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00435478
pop eax
pop ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x28], 1
je 0x41acbd
mov dword [esp + 0x34], ecx
xor edx, edx
push 0xc
pop esi
div esi
lea esi, [esp + 0x58]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
imul eax, eax, 0xc
mov edx, dword [esp + 0x54]
mov dword [ecx + eax + 4], edi
mov edi, dword [esp + 0x40]
add edx, 0xfffffffe
mov dword [ecx + eax], edi
mov dword [ecx + eax + 8], ebx
mov ecx, dword [esp + 8]
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 0x10]
mov eax, dword [esp + 0x3c]
add ecx, 2
inc eax
mov dword [esp + 0x3c], eax
jmp 0x41a94f
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], eax
call fcn.00405151
lea eax, [esp + 0x8c]
jmp 0x41a873
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [esi], 1
jmp 0x41ac4b
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x41ac0f
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
jmp 0x41ac32
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x4c], eax
call fcn.00435706
lea ecx, [esp + 0x58]
call fcn.00435706
mov eax, dword [esp + 4]
mov dword [eax + 8], esi
mov dword [eax + 4], edi
mov dword [eax], 1
lea ecx, [esp + 0x44]
call fcn.00405151
lea ecx, [esp + 0x34]
call fcn.00405510
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx], 1
jmp 0x41ac54
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 4]
movsd xmm0, qword [esp + 0x34]
mov dword [ecx + 0xc], eax
movsd qword [ecx + 4], xmm0
and dword [ecx], 0
jmp 0x41ac5d
mov eax, dword [esp + 4]
shl edx, 8
xor ecx, ecx
inc ecx
or edx, ecx
and dword [eax + 8], 0
mov dword [eax + 4], edx
mov dword [eax], ecx
jmp 0x41ac54
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
xor eax, eax
jmp 0x41acc5
mov edx, dword [esp + 8]
mov dword [esp + 0x4c], edx
test eax, eax
jne 0x41acd0
call fcn.0042e8c0
ud2
mov edx, eax
call fcn.0042e8b0
ud2