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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [0x44d834]
xor eax, ebp
mov dword [esp + 0x88], eax
push dword [ebp + 0xc]
call fcn.0042b680
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ecx + eax + 0x20]
mov eax, 0xafd17eb
movsd qword [esp + 0x48], xmm0
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 8]
mov dword [ecx + eax + 0x24], 0
mov dword [ecx + eax + 0x20], 0
mov eax, 0x79979c4b
mov dword [esp + 0x1c], edx
nop word cs:[eax + eax]
nop
cmp eax, 0xbea9825
jg 0x4030a0
cmp eax, 0xc2fadab9
jg 0x403000
cmp eax, 0x902ddc13
jle 0x403042
cmp eax, 0x902ddc14
je 0x402f7b
cmp eax, 0xa3c897c7
je 0x403327
cmp eax, 0xb021c56f
jne 0x402fb0
mov eax, 0x5fdd081b
mov dword [esp + 4], 4
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
cmp eax, 0xf6cfeaf2
jle 0x403141
cmp eax, 0xf6cfeaf3
je 0x403350
cmp eax, 0x8d89cee
je 0x40336d
cmp eax, 0xafd17eb
jne 0x402fb0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp eax, 1
mov eax, 0x87369dd4
sbb ecx, 0
mov ecx, 0x7f2f014e
jmp 0x40307e
cmp eax, 0x84975c0e
je 0x4033bc
cmp eax, 0x87369dd4
jne 0x402fb0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
cmp edx, dword [ecx + eax + 0x20]
sbb esi, dword [ecx + eax + 0x24]
mov eax, 0x7f2f014e
mov ecx, 0x84975c0e
cmovl eax, ecx
xor esi, esi
mov dword [esp], 0
cmp eax, 0xbea9825
jle 0x402fbb
nop word cs:[eax + eax]
nop
cmp eax, 0x54e1da04
jg 0x403110
cmp eax, 0x3bb24b7b
jle 0x403182
cmp eax, 0x3bb24b7c
je 0x403447
cmp eax, 0x512d8fbd
je 0x403474
cmp eax, 0x52fa596f
jne 0x402fb0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + eax + 0x38]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax + 0x40]
push eax
call fcn.0040ac80
cmp eax, 0xffffffff
mov eax, 0xc6d81005
mov ecx, 0x3bb24b7c
jmp 0x4035b5
cmp eax, 0x5fdd081a
jle 0x40323b
cmp eax, 0x5fdd081b
je 0x40349e
cmp eax, 0x7f2f014e
je 0x4034dc
cmp eax, 0x79979c4b
jne 0x402fb0
jmp 0x4035c8
cmp eax, 0xc2fadaba
je 0x403510
cmp eax, 0xc6d81005
jne 0x402fb0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esp + 0x28], eax
mov eax, 0xbea9826
mov dword [esp + 0x24], ecx
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
cmp eax, 0xbea9826
je 0x40352d
cmp eax, 0x265640be
jne 0x402fb0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax + 0x14]
mov edx, eax
mov ecx, eax
and eax, 0x374498f2
not edx
and ecx, 0x83000658
mov ebx, edx
and edx, 0xc8bb670d
and ebx, 0x7cfff9a7
or eax, edx
or ecx, ebx
mov edx, eax
xor eax, 0xc8bb670d
mov ebx, ecx
and ecx, 0x8b65dc99
xor edx, 0x374498f2
not ebx
and ebx, 0x749a2366
or ecx, ebx
mov ebx, ecx
xor ecx, 0x865db01
xor ebx, 0xf79a24fe
and edx, ecx
and eax, ebx
or eax, edx
xor ecx, eax
and ecx, eax
mov eax, 0xbea9826
cmp ecx, 0x40
mov ecx, 0xa3c897c7
cmove eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x40356d
cmp eax, 0x54e1da05
je 0x403581
cmp eax, 0x5eb480f3
jne 0x402fb0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], esi
mov esi, 0xf42a0d3b
mov edx, 0x839c9d03
mov edi, 0xe0332a32
mov ebx, 0x2b1f42a
sub ecx, esi
sbb eax, edx
add ecx, edi
mov edi, 0xa7b41075
adc eax, edi
add ecx, esi
mov edi, 0x651452fd
mov esi, 0xd02aca2e
adc eax, edx
sub ecx, ebx
mov edx, 0x7b0f2846
sbb eax, edi
add ecx, esi
adc eax, edx
add ecx, ebx
mov ebx, 0xce42077
adc eax, edi
sub ecx, esi
mov esi, 0x87583214
mov edi, 0x1d6a7461
sbb eax, edx
add ecx, esi
mov edx, 0x9366c908
adc eax, edx
sub ecx, ebx
sbb eax, edi
sub ecx, esi
mov esi, 0x70e823b4
mov edi, 0xe0332a32
sbb eax, edx
add ecx, esi
mov edx, 0x717bd32d
adc eax, edx
sub ecx, edi
mov edi, 0xa7b41075
sbb eax, edi
sub ecx, esi
mov edi, 0xef5fa9d1
mov esi, dword [esp + 0x2c]
sbb eax, edx
mov edx, 0xef5fa9d1
not edi
add ecx, edx
mov edx, 0xc40e7e1a
adc eax, edx
add ecx, ebx
mov edx, 0x1d6a7461
adc eax, edx
mov edx, 0xc40e7e1a
add edi, ecx
not edx
adc edx, eax
mov eax, 0x512d8fbd
mov dword [esp + 0x20], edx
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x10]
mov ecx, 0x8d89cee
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, 0x5fdd081b
cmp dword [esp + 0x70], 0
jmp 0x4033a1
mov eax, 0x902ddc14
mov dword [esp + 8], 4
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + eax + 0x38]
mov eax, dword [ecx]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [ebp + 0xc]
call dword [eax + 0x24]
xor edx, dword [esp + 0x3c]
xor eax, dword [esp + 0x38]
mov ecx, 0x5fdd081b
or eax, edx
mov eax, 0xb021c56f
mov edx, dword [esp + 0x70]
cmove eax, ecx
mov dword [esp + 4], edx
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x44]
mov edx, 0xf8a69b1a
mov ebx, 0xc1ee7f35
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + eax + 0x20]
mov eax, dword [ecx + eax + 0x24]
mov ecx, 0xabfccafc
add esi, edx
adc eax, ecx
sub esi, ebx
mov ebx, 0x1686d640
sbb eax, ebx
sub esi, edx
mov ebx, 0xc384b42c
mov edx, 0x80c3ffe5
sbb eax, ecx
sub esi, ebx
mov ecx, 0xcb9ec3a7
sbb eax, ecx
sub esi, dword [esp + 0x38]
mov ecx, 0xe22a23e5
sbb eax, dword [esp + 0x3c]
sub esi, ecx
sbb eax, edx
add esi, ebx
mov ebx, 0xcb9ec3a7
adc eax, ebx
add esi, ecx
mov ecx, 0xc1ee7f35
adc eax, edx
add esi, ecx
mov edx, 0x1686d640
adc eax, edx
mov dword [esp], eax
mov eax, 0x7f2f014e
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], eax
mov eax, 0xa3c897c7
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], edi
mov ecx, 0x54e1da05
mov dword [esp + 0x7c], eax
xor eax, eax
cmp eax, dword [esp + 0x78]
mov eax, 0
sbb eax, dword [esp + 0x7c]
mov eax, 0x902ddc14
cmovl eax, ecx
jmp 0x4034c4
mov eax, dword [esp + 4]
mov ecx, 0x512d8fbd
mov dword [esp + 0x74], eax
mov eax, 0x902ddc14
cmp dword [esp + 0x74], 0
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmove eax, ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.0040a740
cmp byte [esp + 0x34], 0
mov eax, 0x265640be
mov ecx, 0xc2fadaba
jmp 0x4035b5
mov eax, 0x79979c4b
mov dword [esp + 0x1c], 4
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov ecx, 0x52fa596f
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
xor eax, eax
cmp eax, dword [esp + 0x60]
mov eax, 0
sbb eax, dword [esp + 0x64]
mov eax, 0xa3c897c7
cmovl eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + eax + 0x38]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax + 0x40]
push eax
call fcn.0040ac80
cmp eax, 0xffffffff
mov eax, 0x5eb480f3
mov ecx, 0xf6cfeaf3
cmove eax, ecx
cmp eax, 0xbea9825
jle 0x402fbb
jmp 0x4030a0
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, esi
and ecx, 0x2c98ab4e
mov edi, dword [eax + 4]
mov eax, esi
not eax
mov dword [esp], eax
and eax, 0xd36754b1
or ecx, eax
mov dword [esp + 4], edi
mov eax, dword [ebp + 8]
mov edx, dword [eax + edi + 0xc]
mov dword [esp + 8], eax
mov ebx, edx
mov eax, edx
not ebx
and eax, 0x4f944a3f
mov edi, ebx
and edi, 0xb06bb5c0
or eax, edi
mov edi, ecx
xor ecx, 0x90631480
xor edi, 0xc900a0e
and ecx, 0xb06bb5c0
and edi, 0x4f944a3f
or edi, ecx
xor edi, eax
mov eax, edx
mov ecx, edi
xor ecx, ebx
and ebx, 0xf23022a4
and ecx, edi
mov edi, edx
mov edx, dword [esp]
and edi, 0xdcfdd5b
or edi, ebx
xor edi, esi
xor edi, 0xf23022a4
and edx, 0x98185f2d
and edi, esi
and esi, 0x67e7a0d2
or esi, edx
mov ebx, edi
and edi, 0xff2580aa
xor esi, eax
not ebx
xor esi, 0x98185f2d
and esi, eax
mov eax, ebx
and eax, 0xda7f55
or edi, eax
mov eax, esi
and esi, 0xff2580aa
not eax
or ebx, eax
and eax, 0xda7f55
or esi, eax
not ebx
xor esi, edi
or ebx, esi
mov esi, ecx
mov edi, ebx
not esi
not edi
and ebx, esi
or esi, edi
and edi, ecx
mov eax, esi
mov ecx, esi
or edi, ebx
xor ebx, ebx
not eax
and ecx, 0x7ddb0a6b
and eax, 0x8224f594
or eax, ecx
mov ecx, edi
and edi, 0x8224f594
not ecx
or esi, ecx
and ecx, 0x7ddb0a6b
or edi, ecx
mov ecx, dword [esp + 8]
not esi
xor edi, eax
mov eax, dword [esp + 4]
or esi, edi
mov edi, esi
not edi
cmp dword [ecx + eax + 0x38], 0
lea edx, [ecx + eax]
mov eax, edi
mov dword [esp], edx
mov edx, esi
sete bl
and eax, 0xf50aa756
and edx, 0xaf558a9
or esi, 0xa9dd5f8b
or edi, 0x5622a074
or edx, eax
lea eax, [ebx*4 + 0x4fa1d88b]
xor edx, 0xaf558a9
xor eax, 0xb05e2774
mov ecx, edx
and ecx, eax
xor eax, edx
or eax, ecx
lea ecx, [ebx*4]
mov edx, ecx
not edx
and edx, ecx
mov ecx, esi
and esi, 0x72b6c2ab
not ecx
and ecx, 0x4002054
or ecx, esi
mov esi, edi
and edi, 0x72b6c2ab
not esi
and esi, 0x89491d00
or esi, edi
xor esi, ecx
lea ecx, [ebx*4 + 0x202030]
xor ecx, 0x56028044
mov edi, ecx
and edi, edx
xor edx, ecx
mov ecx, esi
or edx, edi
not ecx
and ecx, edx
not edx
and edx, esi
mov esi, eax
or edx, ecx
not esi
mov edi, edx
and edx, eax
not edi
or eax, edi
and edi, esi
not eax
or edi, edx
mov ecx, eax
and ecx, edi
xor edi, eax
or edi, ecx
mov ecx, dword [esp]
push 0
push edi
call fcn.0040ba40
call fcn.0041f612
mov ecx, eax
mov esi, 0x9d1f9532
xor cl, 1
mov edx, ecx
mov ah, cl
or cl, al
and dl, al
xor ah, dl
xor dl, 1
or dl, al
xor dl, 1
or dl, ah
xor dl, 1
mov eax, edx
or al, cl
xor cl, dl
mov edx, eax
xor dl, cl
not cl
or cl, al
not dl
not cl
or cl, dl
and cl, 1
mov byte [esp + 0x87], cl
mov al, byte [esp + 0x87]
mov eax, 0x89eb36d2
nop
cmp eax, 0x1302115f
je 0x403833
cmp eax, 0x9d1f9532
je 0x40381e
cmp eax, 0x89eb36d2
jne 0x4037f0
cmp byte [esp + 0x87], 0
mov eax, 0x1302115f
cmovne eax, esi
cmp eax, 0x1302115f
jne 0x4037f7
jmp 0x403833
mov ecx, dword [esp + 0x30]
call fcn.0040e770
mov eax, 0x1302115f
cmp eax, 0x1302115f
jne 0x4037f7
lea ecx, [esp + 0x30]
call fcn.0040ea20
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.0041d6b9
mov eax, dword [esp + 0x18]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret