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

Disassembly:
sub esp, 0x838
lea eax, [esp + 0xf0]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0040f170
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x190
xor eax, eax
lea edi, [esp + 0x208]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x854]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov word [eax + 0x24], 1
call fcn.0040f1e0
add esp, 0xc
test eax, eax
jl 0x40ec0a
mov ecx, 7
lea esi, [esp + 0x38]
lea edi, [esp + 0x58]
mov edx, dword [str.0000]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [str.9999]
mov ecx, 7
movsb byte es:[edi], byte [esi]
mov esi, str.EEEEEEEEEEEEEEEEEEEEEEEEEWWWW
lea edi, [esp + 0xac]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x51], edx
lea ecx, [esp + 0xac]
mov dword [esp + 0x71], eax
push 0xac695c
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
push 0
push 0x80
push 1
push 1
push 0x1d
lea edx, [esp + 0x128]
push 0
push edx
movsb byte es:[edi], byte [esi]
call fcn.00422d00
add esp, 0x30
test eax, eax
jl 0x40ec0a
mov ebx, 0xac697a
xor eax, eax
mov ecx, 7
mov dword [esp + 0x24], eax
lea edi, [esp + 0x24]
mov dword [esp + 0x28], eax
mov esi, ebx
mov dword [esp + 0x2c], eax
xor edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
repe cmpsw word [esi], word es:[edi]
je 0x40eaa3
mov dword [esp + 0x10], eax
mov ecx, ebx
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x204]
mov ax, word [ecx + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
mov word [esp + 0x24], ax
call fcn.00422c10
add esp, 8
test eax, eax
jl 0x40ec0a
add ebx, 0xe
cmp ebx, 0xac69dc
jl 0x40ea2b
lea eax, [esp + 0x204]
push 2
push eax
call fcn.00422b70
mov ebp, dword [esp + 0x854]
add esp, 8
test eax, eax
jne 0x40eafe
lea ecx, [esp + 0x204]
push ecx
push ebp
call fcn.0040f3e0
add esp, 8
test eax, eax
jl 0x40ec0a
lea edx, [esp + 0x204]
push 2
push edx
call fcn.00422b70
add esp, 8
test eax, eax
je 0x40eacf
push 0xac695c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00422d00
add esp, 0x30
test eax, eax
jl 0x40ebf5
mov ebx, 0xac697a
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xcc]
mov esi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
lea edi, [esp + 0xcc]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x40eba0
mov ecx, 0xc
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, ebx
stosw word es:[edi], ax
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x7c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x204]
mov ax, word [ecx + 0xc]
lea ecx, [esp + 0x78]
push ecx
push edx
mov word [esp + 0x8c], ax
call fcn.00422c10
add esp, 8
test eax, eax
jl 0x40ec0a
add ebx, 0xe
cmp ebx, 0xac69dc
jl 0x40eb2e
lea eax, [esp + 0x204]
push 2
push eax
call fcn.00422b70
add esp, 8
test eax, eax
jne 0x40eafe
lea ecx, [esp + 0x204]
push ecx
push ebp
call fcn.0040f3e0
add esp, 8
test eax, eax
jl 0x40ec0a
lea edx, [esp + 0x204]
push 2
push edx
call fcn.00422b70
add esp, 8
test eax, eax
je 0x40ebc5
jmp 0x40eafe
lea eax, [esp + 0x204]
push eax
push ebp
call fcn.0040f3e0
add esp, 8
test eax, eax
jge 0x40ec3f
push 0xac695c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00422d00
add esp, 0x30
test eax, eax
jge 0x40ec0a
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x838
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x838
ret