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

Disassembly:
mov eax, 0x2da4
call fcn.00414dd0
mov eax, dword [0x41c140]
xor eax, esp
mov dword [esp + 0x2da0], eax
cmp dword [esp + 0x2db4], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x2db0]
mov ecx, dword [esp + 0x2dbc]
push ebx
mov ebx, dword [esp + 0x2dac]
push ebp
push esi
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ecx
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x38], xmm0
je 0x4110ba
test eax, eax
je 0x41128e
mov ebp, dword [esp + 0x2dbc]
lea eax, [esp + 0x58]
push eax
push ebp
push ebx
call fcn.004114e0
add esp, 0xc
test eax, eax
je 0x41128e
mov esi, dword [esp + 0x78]
mov eax, esi
mov edi, dword [esp + 0x7c]
or eax, edi
je 0x4114d4
push ebp
push ebx
call fcn.00411760
add esp, 8
test eax, eax
jne 0x4114d4
test byte [esp + 0x64], 0x21
jne 0x41128e
mov ebp, dword [esp + 0x2dc8]
mov ax, word [esp + 0x66]
and ebp, 0x400
jne 0x411142
test ax, ax
je 0x41112a
cmp ax, 8
jne 0x41128e
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
jmp 0x41114e
mov eax, esi
mov dword [esp + 0x10], esi
mov ecx, edi
mov dword [esp + 0x2c], edi
xor edx, edx
cmp edx, ecx
jb 0x41128e
ja 0x411167
cmp dword [esp + 0x2dc4], eax
jb 0x41128e
mov eax, dword [ebx + 0x2c]
lea ecx, [esp + 0x2d90]
push 0x1e
push ecx
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [ebx + 0x34]
call eax
add esp, 0x14
cmp eax, 0x1e
jne 0x41128e
cmp dword [esp + 0x2d90], 0x4034b50
jne 0x41128e
movzx eax, word [esp + 0x2daa]
cdq
mov ecx, eax
mov dword [esp + 0x18], edx
movzx eax, word [esp + 0x2dac]
cdq
add ecx, eax
mov eax, dword [esp + 0x18]
adc eax, edx
add ecx, dword [esp + 0x90]
adc eax, dword [esp + 0x94]
add ecx, 0x1e
mov edx, ecx
mov dword [esp + 0x40], ecx
adc eax, 0
add edx, esi
mov dword [esp + 0x18], eax
adc eax, edi
cmp eax, dword [ebx + 4]
ja 0x41128e
jb 0x4111f9
cmp edx, dword [ebx]
ja 0x41128e
test ebp, ebp
jne 0x411486
cmp word [esp + 0x66], bp
je 0x411486
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x2a0], ebp
mov eax, dword [eax + 0x34]
test eax, eax
je 0x411243
xorps xmm0, xmm0
mov dword [esp + 0x30], edi
add eax, ecx
movlpd qword [esp + 0x10], xmm0
mov ebp, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
jmp 0x4112e7
mov eax, dword [esp + 0x54]
test eax, eax
je 0x411266
mov edx, dword [esp + 0x2dd0]
mov dword [esp + 0x24], edx
test edx, edx
je 0x41128e
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x4112d2
test edi, edi
ja 0x4112a9
jb 0x411274
cmp esi, 0x10000
jae 0x4112a9
mov eax, edi
mov ecx, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
test eax, eax
ja 0x41128e
jb 0x4112b8
cmp ecx, 0x7fffffff
jbe 0x4112b8
xor eax, eax
mov ecx, dword [esp + 0x2db0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004149f9
add esp, 0x2da4
ret
mov ecx, 0x10000
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x1c]
push ecx
push 1
push dword [ebx + 0x28]
call eax
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
je 0x41128e
mov edx, dword [esp + 0x24]
xorps xmm0, xmm0
mov ecx, esi
movlpd qword [esp + 0x10], xmm0
mov ebp, edi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, esi
or eax, edi
jne 0x4113a0
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x34], 0
jne 0x4113a0
mov eax, dword [esp + 0x30]
cmp eax, ebp
ja 0x411342
jb 0x41133c
cmp edx, ecx
jae 0x411342
mov esi, edx
mov edi, eax
jmp 0x411346
mov esi, ecx
mov edi, ebp
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2c]
push esi
push dword [esp + 0x2c]
push edx
push dword [esp + 0x4c]
push dword [ebx + 0x34]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, esi
jne 0x411452
cmp ecx, edi
jne 0x411452
add dword [esp + 0x40], esi
xorps xmm0, xmm0
mov ecx, dword [esp + 0x20]
adc dword [esp + 0x18], edi
sub ecx, esi
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x3c]
sbb ebp, edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], edx
jmp 0x4113a4
mov edx, dword [esp + 0x1c]
mov eax, ecx
mov dword [esp + 0x38], esi
or eax, ebp
mov eax, 6
jne 0x4113b8
mov eax, 4
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
add eax, ecx
push eax
push ecx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x3c]
add eax, edx
push eax
lea eax, [esp + 0x2b8]
push eax
call fcn.00411f20
mov ecx, dword [esp + 0x54]
add esp, 0x1c
sub esi, ecx
mov edx, eax
mov eax, dword [esp + 0x34]
sbb edi, 0
mov dword [esp + 0x10], edx
add dword [esp + 0x1c], ecx
adc dword [esp + 0x4c], 0
add eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
adc dword [esp + 0x44], 0
cmp edx, 1
jne 0x411421
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x411310
test edx, edx
jne 0x411457
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jne 0x411452
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x84]
jne 0x411452
mov edi, dword [esp + 0x48]
push ecx
push edi
push edx
call fcn.00410de0
add esp, 0xc
cmp eax, dword [esp + 0x70]
je 0x411457
or esi, 0xffffffff
jmp 0x41145b
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x34], 0
jne 0x41147a
cmp dword [esp + 0x54], 0
jne 0x41147a
push dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
push dword [ebx + 0x28]
call eax
add esp, 8
xor eax, eax
test esi, esi
sete al
jmp 0x411290
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2c]
push esi
push edi
push edx
push ecx
push dword [ebx + 0x34]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, esi
jne 0x41128e
cmp ecx, dword [esp + 0x2c]
jne 0x41128e
test ebp, ebp
jne 0x4114d4
push dword [esp + 0x80]
push edi
push ebp
call fcn.00410de0
add esp, 0xc
cmp eax, dword [esp + 0x70]
jne 0x41128e
mov eax, 1
jmp 0x411290