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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2c8
mov esi, esp
mov dword [esi + 0x2b0], ebp
call 0x41259c
pop eax
mov dword [esi + 0x2b4], esp
mov dword [esi + 0x2c0], 0xffffffff
mov dword [esi + 0x2bc], 0x414920
mov ebx, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword fs:[0]
mov dword [esi + 0x2b8], eax
lea eax, [esi + 0x2b8]
mov dword fs:[0], eax
lea eax, [esi + 0x68]
mov dword [esi + 0x238], 0
mov dword [esi + 0x23c], 0x2e
mov byte [esi + 0x244], 0x3d
mov dword [esi + 0x248], 0
mov dword [esi + 0x24c], 0x3d
mov dword [esi + 0x254], 0
mov dword [esi + 0x258], 0xa
mov dword [esi + 0x260], 0
mov dword [esi + 0x264], 0x23
push ebx
push eax
call fcn.0040fef0
add esp, 8
mov eax, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
cmp eax, 3
jne 0x4126bf
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x134], ecx
mov dword [esi + 0x2c0], 0
lea ecx, [esi + 0x68]
lea edx, [esi + 0x238]
push ebx
call fcn.00411080
add esp, 4
mov ecx, dword [esi + 0x68]
cmp ecx, 3
jne 0x4126d2
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
test eax, eax
jne 0x4126a5
jmp 0x412700
inc edi
cmp eax, edi
je 0x4126fe
movzx ecx, byte [edx + edi]
cmp ecx, 0x20
je 0x4126a0
cmp ecx, 9
je 0x4126a0
mov dword [esi + 0x2c0], 0
jmp 0x412700
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
mov dword [esi], eax
mov dword [esi + 0x14], ebx
jmp 0x4127fa
movzx eax, byte [esi + 0x6f]
movzx edi, word [esi + 0x6d]
movzx ebx, byte [esi + 0x6c]
shl eax, 0x10
or edi, eax
mov eax, dword [esi + 0x70]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x78]
mov dword [esi], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x14], eax
xor eax, eax
jmp 0x412778
mov edi, eax
mov ecx, dword [ebx]
mov dword [esi + 0x18], edx
add edx, edi
sub eax, edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0x2c0], 0
mov dword [ebx + 8], edx
mov dword [esi + 0x28], edx
mov dword [ebx + 0xc], eax
mov dword [esi + 0x30], ecx
push ebx
lea eax, [esi + 0x68]
push eax
call fcn.00419620
add esp, 8
mov edx, dword [esi + 0x74]
mov ebx, dword [esi + 0xbc]
mov edi, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x70]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x78]
cmp ebx, 8
mov dword [esi], edx
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x14], edx
jne 0x412839
mov ebx, ecx
mov ecx, edi
mov edx, dword [esi]
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], edi
mov edi, ebx
mov dword [esi + 8], eax
mov eax, ecx
mov dword [esi], edx
and eax, 0xffffff00
shr edi, 8
mov edx, dword [esi + 0x1c]
movzx ecx, cl
shl edi, 8
mov dword [esi + 4], 0
or ecx, eax
movzx eax, bl
mov ebx, 2
or edi, eax
cmp ecx, 1
cmovne ebx, ecx
mov dword [esi + 0x28], edi
mov ecx, edx
mov dword [esi + 0x20], ebx
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esi + 4]
cmp dword [esi + 0x10], eax
je 0x4127d9
inc eax
lea edx, [ecx + 0x48]
mov dword [esi + 0x2c0], 3
mov dword [esi + 4], eax
mov dword [esi + 0x18], edx
call fcn.00403ca0
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
jmp 0x4127b0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4127f4
shl eax, 3
lea eax, [eax + eax*8]
push 4
push eax
push dword [esi + 0x1c]
call fcn.0040b8d0
add esp, 0xc
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esi]
mov edi, 4
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x28], ecx
mov ecx, 0x10
mov edx, dword [esi + 0x2b8]
mov dword [eax + ecx], edi
mov dword fs:[0], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xb8]
movsd xmm1, qword [esi + 0xa0]
mov edx, ecx
mov ecx, edi
movsd xmm2, qword [esi + 0xa8]
movsd xmm0, qword [esi + 0xb0]
movsd xmm3, qword [esi + 0x80]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x2c0], 1
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x1f0], eax
mov eax, dword [ebp + 0xc]
movsd qword [esi + 0x1d8], xmm1
movsd xmm1, qword [esi + 0x90]
movsd qword [esi + 0x1e0], xmm2
movsd xmm2, qword [esi + 0x98]
movsd qword [esi + 0x1e8], xmm0
movsd qword [esi + 0x1b8], xmm3
mov edi, eax
mov eax, dword [eax + 8]
movsd qword [esi + 0x1c8], xmm1
movsd xmm1, qword [esi + 0x88]
movsd qword [esi + 0x1d0], xmm2
movsd xmm2, qword [esi + 0xc0]
mov dword [esi + 0x124], eax
mov dword [esi + 0xe8], eax
mov eax, dword [edi + 0xc]
movsd qword [esi + 0x1c0], xmm1
movsd xmm1, qword [esi + 0xc8]
movsd qword [esi + 0x1f8], xmm2
mov dword [esi + 0x128], eax
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0x20]
movsd qword [esi + 0x200], xmm1
mov dword [esi + 0x1a0], ecx
mov dword [esi + 0x1a4], edx
mov dword [esi + 0x1a8], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1ac], eax
mov eax, dword [esi]
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1b4], eax
mov dword [esi + 0x1f4], ebx
lea eax, [esi + 0x220]
push edi
push eax
call fcn.00410c10
add esp, 8
cmp dword [esi + 0x220], 3
jne 0x412977
mov eax, dword [esi + 0x224]
mov ecx, dword [esi + 0x228]
mov dword [esi + 0x24], eax
mov dword [esi + 8], ecx
jmp 0x412a35
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x208]
mov dword [esi + 0x278], eax
lea eax, [esi + 0xe8]
mov dword [esi + 0x27c], eax
lea eax, [esi + 0x26c]
mov dword [esi + 0x26c], 0
mov dword [esi + 0x270], 0xa
push eax
lea eax, [esi + 0x220]
push eax
push ecx
call fcn.0040a8c0
add esp, 0xc
cmp dword [esi + 0x208], 3
jne 0x4129da
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x210]
mov dword [esi + 0x24], eax
mov dword [esi + 8], ecx
jmp 0x412a35
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x278], eax
lea eax, [esi + 0x124]
mov dword [esi + 0x27c], eax
lea eax, [esi + 0x26c]
mov dword [esi + 0x26c], 0
mov dword [esi + 0x270], 0x23
push eax
lea eax, [esi + 0x208]
push eax
lea eax, [esi + 0x68]
push eax
call fcn.0040a8c0
add esp, 0xc
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
cmp ecx, 3
mov dword [esi + 0x24], eax
mov dword [esi + 8], edx
jne 0x412d24
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x28]
mov edx, dword [esi + 0x10]
sub edi, eax
sub ebx, eax
lea eax, [esi + 0x1b8]
test edx, edx
movsd xmm0, qword [eax + 0x30]
mov ecx, dword [eax + 0x38]
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm3, qword [eax + 0x10]
movsd xmm4, qword [eax]
movsd xmm5, qword [eax + 8]
movsd xmm6, qword [eax + 0x40]
movsd xmm7, qword [eax + 0x48]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x18], edi
movsd qword [esi + 0x118], xmm0
movsd xmm0, qword [eax + 0x28]
mov eax, dword [esi + 0x38]
movsd qword [esi + 0xf0], xmm5
movsd qword [esi + 0x108], xmm1
movsd qword [esi + 0xf8], xmm3
movsd qword [esi + 0x40], xmm6
movsd qword [esi + 0x48], xmm7
movsd qword [esi + 0x100], xmm2
mov dword [esi + 0x120], ecx
movsd qword [esi + 0xe8], xmm4
mov ecx, dword [esi + 0x1c]
movsd xmm1, qword [esi + 0xf0]
movsd xmm6, qword [esi + 0x40]
movsd xmm7, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x100]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x34]
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [esi + 0xe8]
movsd qword [esi + 0x60], xmm7
movsd qword [esi + 0x58], xmm6
movsd xmm6, qword [esi + 0x58]
movsd xmm7, qword [esi + 0x60]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xc]
movsd qword [esi + 0x48], xmm7
movsd qword [esi + 0x40], xmm6
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x70], eax
mov eax, dword [esi]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x7c], eax
movsd qword [esi + 0x88], xmm1
movsd xmm1, qword [esi + 0xf8]
mov eax, dword [esi + 0x120]
movsd qword [esi + 0x98], xmm2
movsd xmm2, qword [esi + 0x110]
movsd qword [esi + 0x80], xmm0
movsd qword [esi + 0x90], xmm1
movsd xmm1, qword [esi + 0x108]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x2c]
movsd qword [esi + 0xa8], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0xa0], xmm1
movsd xmm1, qword [esi + 0x118]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
movsd qword [esi + 0xb0], xmm1
movsd xmm1, qword [esi + 0x48]
mov dword [esi + 0xbc], eax
movsd qword [esi + 0xc0], xmm2
mov eax, dword [esi + 8]
movsd qword [esi + 0xc8], xmm1
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], ebx
mov ebx, dword [esi + 0x24]
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], eax
je 0x412ebd
dec edx
mov dword [esi + 0x5c], edx
lea eax, [edx + edx*8]
mov edi, dword [ecx + eax*8]
cmp edi, 0x80000000
je 0x412ebd
lea eax, [ecx + eax*8]
lea ecx, [esi + 0x26c]
mov dword [esi + 0x10], edx
add eax, 4
push 0x44
push eax
push ecx
call fcn.00457b70
add esp, 0xc
mov eax, dword [esi + 0x38]
movsd xmm0, qword [esi + 0xe8]
cmp dword [esi + 0xe4], 0
movsd xmm1, qword [esi + 0xf0]
mov edx, 6
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x34]
setne ch
cmp ebx, dword [esi + 8]
lea ebx, [esi + 0x138]
mov dword [esi + 0x13c], eax
mov eax, dword [esi + 0xc]
setne cl
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x140], eax
mov eax, dword [esi]
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x14c], eax
movsd qword [esi + 0x150], xmm0
movsd xmm0, qword [esi + 0xf8]
mov eax, dword [esi + 0x120]
movsd qword [esi + 0x158], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x160], xmm0
movsd xmm0, qword [esi + 0x100]
mov dword [esi + 0x188], eax
mov eax, dword [esi + 0x3c]
movsd qword [esi + 0x168], xmm0
movsd xmm0, qword [esi + 0x108]
movsd qword [esi + 0x170], xmm0
movsd xmm0, qword [esi + 0x110]
movsd qword [esi + 0x178], xmm0
movsd xmm0, qword [esi + 0x118]
movsd qword [esi + 0x180], xmm0
mov dword [esi + 0x18c], eax
add eax, 0xfffffffe
movsd xmm0, qword [esi + 0x40]
movsd qword [esi + 0x198], xmm1
cmp eax, 6
cmovb edx, eax
mov eax, dword [esi + 4]
movsd qword [esi + 0x190], xmm0
add eax, dword [edx*4 + 0x412fdc]
jmp eax
mov eax, dword [esi + 0x74]
mov edi, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x1a0]
mov dword [esi + 0x2c0], 0
mov dword [esi + 0xc], eax
mov dword [esi], edi
mov dword [esi + 0x14], edx
call fcn.004117d0
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0x24]
jmp 0x412764
mov dword [esi + 0x2c0], 4
push 0x4609fc
push 0x1a
push 0x46096f
call fcn.0045dab0
add esp, 0xc
ud2