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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4455b2
mov eax, dword fs:[0]
add byte [eax], al
add byte [eax - 0x7f], dl
in al, dx
lock add al, byte [eax]
add byte [ecx + 0x458210], ah
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x458210]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], ecx
mov word [esp + 0x44], cx
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
mov esi, 7
push ecx
xor ebx, ebx
mov dword [esp + 0x60], esi
call fcn.00401f22
xor edi, edi
push 0x10
lea ecx, [esp + 0x44]
mov dword [esp + 0x30c], edi
call fcn.0040db50
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
push 4
mov byte [esp + 0x30c], 1
call fcn.00435ac3
add esp, 4
cmp eax, edi
je 0x40e529
mov esi, eax
mov dword [eax], 0xffffffff
mov dword [esp + 0x1c], esi
jmp 0x40e52f
mov dword [esp + 0x1c], edi
mov esi, edi
mov dword [esp + 0x20], esi
push 0x4494a0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x314], 2
call fcn.00404faf
add esp, 0xc
lea edx, [esp + 0x5c]
mov ecx, eax
mov byte [esp + 0x308], 3
call fcn.0040f110
mov byte [esp + 0x308], 2
cmp dword [esp + 0x3c], 8
mov bl, al
jb 0x40e583
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00435b88
add esp, 4
test bl, bl
je 0x40e7da
lea esi, [esp + 0x5c]
call fcn.0040f460
test al, al
jne 0x40e645
mov eax, dword [esp + 0x7c]
and eax, 0x10
xor ecx, ecx
or eax, ecx
je 0x40e600
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00408f5d
add esp, 0xc
push eax
mov byte [esp + 0x30c], 4
call fcn.0040e440
add esp, 4
mov byte [esp + 0x308], 2
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jb 0x40e645
mov edx, dword [esp + 0x28]
push edx
call fcn.00435b88
mov ebx, dword [0x44706c]
add esp, 4
jmp 0x40e657
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00408f5d
add esp, 0xc
lea edi, [esp + 0x24]
call fcn.0040e3f0
cmp dword [esp + 0x3c], 8
movzx eax, al
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jb 0x40e643
mov eax, dword [esp + 0x28]
push eax
call fcn.00435b88
add esp, 4
xor edi, edi
mov ebx, dword [0x44706c]
jmp 0x40e657
call fcn.00435b88
add esp, 4
xor edi, edi
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
lea ecx, [esp + 0xa4]
push ecx
push edx
call dword [0x447080]
test eax, eax
setne al
test al, al
je 0x40e7de
lea edi, [esp + 0x5c]
lea ecx, [esp + 0xa4]
call fcn.0040f1a0
mov edx, dword [esp + 0x7c]
mov eax, edx
xor ecx, ecx
and eax, 0x10
or eax, ecx
lea esi, [ecx + 8]
je 0x40e701
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x40e701
cmp dword [esp + 0x9c], esi
mov eax, dword [esp + 0x88]
jae 0x40e6bd
lea eax, [esp + 0x88]
cmp word [eax], 0x2e
jne 0x40e701
cmp ecx, 1
je 0x40e655
jae 0x40e6da
call fcn.00435ef5
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
cmp dword [esp + 0x9c], esi
mov eax, dword [esp + 0x88]
jae 0x40e6f1
lea eax, [esp + 0x88]
cmp word [eax + 2], 0x2e
jne 0x40e701
cmp ecx, 2
je 0x40e655
and edx, 0x10
mov eax, edx
xor ecx, ecx
or eax, ecx
je 0x40e75b
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00408f5d
add esp, 0xc
push eax
mov byte [esp + 0x30c], 5
call fcn.0040e440
add esp, 4
add dword [esp + 0x14], eax
mov byte [esp + 0x308], 2
adc dword [esp + 0x18], edx
cmp dword [esp + 0x3c], esi
jb 0x40e655
mov eax, dword [esp + 0x28]
push eax
jmp 0x40e64d
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00408f5d
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp dword [esp + 0x3c], esi
jae 0x40e783
lea eax, [esp + 0x28]
push eax
call dword [0x44705c]
mov ecx, dword [esp + 0x28]
and eax, 0xfffffffe
cmp dword [esp + 0x3c], esi
jae 0x40e79b
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [0x447070]
cmp dword [esp + 0x3c], esi
mov eax, dword [esp + 0x28]
jae 0x40e7b1
lea eax, [esp + 0x28]
push eax
call ebx
cmp eax, 1
sete cl
movzx eax, cl
cdq
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
cmp dword [esp + 0x3c], esi
jb 0x40e655
mov edx, dword [esp + 0x28]
push edx
jmp 0x40e64d
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40e7f6
push eax
call dword [0x44707c]
test eax, eax
je 0x40e7f6
mov dword [esi], 0xffffffff
push 0x20
lea ecx, [esp + 0x44]
call fcn.0040db50
mov eax, dword [esp + 0x48]
mov ebx, 8
add esp, 4
cmp dword [esp + 0x58], ebx
jae 0x40e817
lea eax, [esp + 0x44]
push eax
call dword [0x44705c]
mov ecx, dword [esp + 0x44]
and eax, 0xfffffffe
cmp dword [esp + 0x58], ebx
jae 0x40e82f
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [0x447070]
cmp dword [esp + 0x58], ebx
mov eax, dword [esp + 0x44]
jae 0x40e845
lea eax, [esp + 0x44]
push eax
call dword [0x447064]
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x40e85b
add ebx, 1
adc dword [esp + 0x18], edi
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40e873
push eax
call dword [0x44707c]
test eax, eax
je 0x40e873
mov dword [esi], 0xffffffff
push esi
call fcn.00435b88
mov esi, 8
add esp, 4
cmp dword [esp + 0x9c], esi
jb 0x40e89a
mov eax, dword [esp + 0x88]
push eax
call fcn.00435b88
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
jb 0x40e8c7
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00435b88
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, ebx
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004357cb
mov esp, ebp
pop ebp
ret