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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x447020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
push 0x40
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0041aecb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x22c]
push 9
mov dword [ebp - 0x22c], 0
push str.a6688.xyz
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
call fcn.0040bb00
push 0x270
mov byte [ebp - 4], 2
call fcn.0041aecb
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x270
push 0
push esi
mov byte [ebp - 4], 3
call fcn.0041cc50
add esp, 0x10
lea eax, [ebp - 0x22c]
mov ecx, esi
push 0x9e1
push eax
call fcn.00405880
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x40ae0d
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1af
push edx
push ecx
call fcn.0041ae9a
add esp, 8
push 7
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x22c]
push str._QD.dll
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
call fcn.0040bb00
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 7
push 0x40
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
call fcn.0041aecb
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0xa
call fcn.00405030
push 3
push 0x4421b4
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0xb
call fcn.0040bb00
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
push dword [ebp - 0x21c]
cmovae eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.0040bb00
lea ecx, [ebp - 0x1d4]
call fcn.0040c6e0
push dword [ebp - 0x14]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040f360
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x40af11
mov edx, dword [ecx]
lea eax, [ebp - 0x84]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x204]
mov ecx, esi
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00407a40
lea ecx, [ebp - 0x204]
call fcn.004054d0
lea eax, [ebp - 0x210]
push eax
mov ecx, eax
call fcn.0040e990
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x24], eax
test edi, edi
je 0x40af6e
mov ecx, edi
call fcn.00402650
push 0xc8
push edi
call fcn.0041ae9a
add esp, 8
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.0040c6e0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x234]
setne byte [ebp - 0x205]
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov ecx, eax
push eax
call fcn.0040e990
mov edi, dword [ebp - 0x240]
test edi, edi
je 0x40afdb
mov ecx, edi
call fcn.00402650
push 0xc8
push edi
call fcn.0041ae9a
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x40b019
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b00f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1b4
push edx
push ecx
call fcn.0041ae9a
add esp, 8
cmp byte [ebp - 0x205], 0
je 0x40b102
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x18], 0xc8
jne 0x40b102
cmp dword [edx + 0x50], 0x10
lea ecx, [edx + 0x3c]
jb 0x40b041
mov ecx, dword [ecx]
mov edx, dword [edx + 0x4c]
sub esp, 0x18
call fcn.00418ed0
add esp, 0x18
test eax, eax
je 0x40b102
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20c], ecx
cmp dword [edi + 0x7c], 0
je 0x40b0fa
mov edi, dword [edi + 0x78]
add edi, ecx
mov edx, dword [edi + 0x18]
test edx, edx
je 0x40b0fa
cmp dword [edi + 0x14], 0
je 0x40b0fa
mov eax, str.Main
shr eax, 0x10
test eax, eax
jne 0x40b0a4
mov eax, str.Main
movzx edx, ax
mov eax, dword [edi + 0x10]
cmp edx, eax
jb 0x40b0fa
sub edx, eax
jmp 0x40b15f
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add esi, ecx
add eax, ecx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x214], eax
test edx, edx
je 0x40b0fa
mov eax, dword [esi]
add eax, ecx
push eax
push str.Main
call fcn.00421828
mov ecx, dword [ebp - 0x20c]
add esp, 8
test eax, eax
je 0x40b153
mov eax, dword [ebp - 0x230]
add esi, 4
add dword [ebp - 0x214], 2
inc eax
mov dword [ebp - 0x230], eax
cmp eax, dword [edi + 0x18]
jb 0x40b0c2
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40b10f
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.0040e990
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x40b136
mov ecx, esi
call fcn.00402650
push 0xc8
push esi
call fcn.0041ae9a
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ae8c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
mov esi, dword [ebp - 0x14]
movzx edx, word [eax]
mov eax, dword [edi + 0x14]
cmp edx, eax
ja 0x40b0fa
mov eax, dword [edi + 0x1c]
lea eax, [eax + edx*4]
mov eax, dword [eax + ecx]
add eax, ecx
je 0x40b102
push 0x442374
call eax
test esi, esi
je 0x40b186
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.0040e990
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x40b138
mov ecx, esi
call fcn.00402650
push 0xc8
push esi
call fcn.0041ae9a
add esp, 8
jmp 0x40b138
call fcn.0041f47f
call fcn.0041f47f
int3