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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov byte [esp + 0x93], 0xce
movzx ecx, word [esp + 0x90]
mov dx, cx
mov dword [esp + 0x88], 0x75887323
mov bl, byte [esp + 0x8f]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov word [esp + 0x4a], dx
mov byte [esp + 0x49], bl
call fcn.0040fea2
mov ecx, eax
mov esi, eax
mov byte [esp + 0x8f], 0x3c
mov edi, dword [esp + 0x4c]
imul edi, edi
mov dx, di
mov edi, dword [eax + 0x3c]
mov ebx, eax
add ebx, edi
mov dword [esp + 0x44], eax
mov eax, dword [eax + edi]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9c]
mov word [esp + 0x90], dx
mov edx, dword [esp + 0x3c]
or edx, 0x1dc638b
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
sub eax, 0x4550
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], 0x7119dc73
cmove eax, ebx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x9c], edx
mov eax, dword [eax + 0x78]
mov ebx, eax
mov edx, dword [esp + 0x44]
add edx, eax
mov eax, dword [esp + 0x38]
not eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
not eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x9c], eax
mov eax, esi
add eax, dword [ecx + ebx + 0x20]
mov dword [esp + 0x28], eax
mov eax, edi
or eax, 0x327f3b10
mov dword [esp + 0x94], eax
mov eax, dword [ecx + ebx + 0x18]
mov dword [esp + 0x7c], 0
cmp eax, 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
je 0x40e580
jmp 0x40e426
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
imul edx, ecx, 0x289b5d59
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x3c]
xor esi, 0x11d5341c
mov edi, dword [esp + 0x38]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0x3c]
and esi, 0x3e061505
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], esi
mov bl, byte [esp + 0x49]
not bl
mov eax, dword [esp + 0x78]
mov bh, byte [edx + eax]
mov byte [esp + 0x8f], bl
mov edx, dword [esp + 0x3c]
add edx, 0xc14fc3db
adc edi, 0xffffffff
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edi
mov edx, dword [esp + 0x50]
mov bl, byte [edx + eax]
imul ecx, ecx
mov dword [esp + 0x94], ecx
mov byte [esp + 0x77], bl
mov bl, byte [esp + 0x77]
mov al, bh
sub al, bl
sete byte [esp + 0x6b]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
imul ecx, esi
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x17], al
mov eax, edi
mul edi
add edx, ecx
add edx, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], eax
mov si, word [esp + 0x4a]
imul si, si, 0x530e
mov word [esp + 0x90], si
cmp bh, 0
je 0x40e419
jmp 0x40e468
mov eax, dword [esp + 0x3c]
add eax, eax
mov ecx, dword [esp + 0x38]
adc ecx, ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x94], 0x2002d4
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x1c]
movzx eax, word [eax]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
imul esi, edi
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0xc], edx
mul ebx
add edx, esi
add edx, esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
add esi, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, dword [esi + ecx*4]
mov dword [esp + 0x7c], eax
jmp 0x40e580
mov eax, dword [esp + 0x88]
add eax, 0x8a778cfd
mov ecx, dword [esp + 0x54]
mov edx, ecx
sub edx, eax
setb bl
mov si, word [esp + 0x4a]
mov ax, si
not eax
mov di, ax
mov word [esp + 0x90], di
mov eax, 0x3f492de4
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, esi
mov esi, dword [esp + 8]
mov dword [esp + 4], edx
mul esi
mov esi, dword [esp + 0x38]
imul esi, esi, 0x3f492de4
add edx, esi
mov bh, byte [esp + 0x83]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
and bh, bl
mov eax, dword [esp + 0x20]
or eax, 0x47c30e68
mov dword [esp + 0x94], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x3c]
add eax, 0xb736d5c0
mov ecx, dword [esp + 0x38]
adc ecx, 0xffffffff
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
test bh, 1
jne 0x40e17c
jmp 0x40e419
mov eax, dword [esp + 0x3c]
add eax, 0x740392e0
mov ecx, dword [esp + 0x38]
adc ecx, 0
mov edx, dword [esp + 0x84]
add edx, 2
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x6c]
mov bl, byte [esp + 0x49]
xor bl, 0xff
mov byte [esp + 0x8f], bl
add eax, 1
mov si, word [esp + 0x4a]
xor si, 0xffff
mov word [esp + 0x90], si
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x40e511
jmp 0x40e580
test byte [esp + 0x6b], 1
jne 0x40e277
jmp 0x40e3aa
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0xeee6cf3
mov dword [esp + 0x70], edx
mov dword [esp + 0x64], 0
mov bl, byte [esp + 0x49]
or bl, 0x2e
mov byte [esp + 0x8f], bl
jmp 0x40e511
mov al, byte [esp + 0x49]
or al, 0xc4
mov byte [esp + 0x8f], al
mov al, byte [esp + 0x93]
mov dx, word [esp + 0x4a]
mov cx, dx
mov ah, byte [esp + 0x77]
mov esi, dword [esp + 0x78]
test ah, ah
setne ah
mov word [esp + 0x90], 0xde29
inc esi
add al, 0x68
mov word [esp + 0x90], 0xaf69
mov dword [esp + 0x54], esi
mov byte [esp + 0x5b], 0xd7
mov bl, byte [esp + 0x5b]
xor esi, esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], 0x2a75feb3
mov bh, byte [esp + 0x6b]
and bh, ah
mov byte [esp + 0x83], bh
and ecx, 0x6f20
mov di, cx
mov word [esp + 0x90], di
mov dword [esp + 0x70], esi
mov dword [esp + 0x98], 0xfadeb579
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x64], 0x53e27d4
cmp al, bl
jbe 0x40e305
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
xor eax, 0x63047eec
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x70]
mov word [esp + 0x90], 0x865f
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x94], 0x2954c10b
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax*4]
mov dl, byte [esp + 0x49]
mov dword [esp], eax
mov al, dl
mul dl
mov esi, dword [esp + 0x1c]
mov edi, dword [esp]
add esi, edi
mov byte [esp + 0x8f], al
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], 0
jmp 0x40e17c
mov eax, dword [esp + 0x7c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret