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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421070
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x42b648]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x42b648]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 0x44
pop edi
push edi
mov dword [esp + 0x1c], eax
xor ebx, ebx
lea eax, [esp + 0x70]
push ebx
push eax
call 0x40d940
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x78], edi
xor eax, eax
mov word [esp + 0xa8], ax
lea edi, [esp + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 0x10
stosd dword es:[edi], eax
pop edi
cmp ecx, edi
jb 0x401b2d
mov edx, dword [esi]
jmp 0x401b2f
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, edi
jb 0x401b3a
mov esi, dword [esi]
push dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
push eax
push esi
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call 0x40378f
mov dword [esp + 0x188], ebx
lea eax, [esp + 0x17]
lea esi, [esp + 0x38]
mov byte [esp + 0x17], 0
call 0x402a9e
mov esi, dword [esp + 0x18]
push esi
lea eax, [esp + 0x154]
call 0x406a6c
pop ecx
cmp dword [eax + 0x14], edi
jb 0x401b88
mov eax, dword [eax]
cmp dword [esi + 0x14], edi
jb 0x401b8f
mov esi, dword [esi]
mov edi, dword [0x422084]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x70]
push ecx
push eax
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [esp + 0x58]
push esi
call edi
mov ebx, eax
push 0
neg ebx
push 1
lea ecx, [esp + 0x158]
sbb bl, bl
call fcn.00402cb1
inc bl
je 0x401c42
mov ebx, 0x42546c
lea esi, [esp + 0xb4]
call fcn.004014ff
push 0x4253cc
mov byte [esp + 0x18c], 1
call dword [0x42208c]
push eax
push edi
mov ecx, esi
lea edi, [esp + 0x28]
call 0x406791
lea ecx, [esp + 0x150]
mov byte [esp + 0x188], 2
push ecx
lea esi, [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x30], 0x425350
mov dword [esp + 0x34], 0x42543c
mov dword [esp + 0x38], 0x47
call 0x40357c
mov dword [esp], 0x427bac
lea eax, [esp + 0x154]
push eax
call fcn.004114ec
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], 1
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x30], 1
push 0xffffffffffffffff
mov byte [esp + 0x18c], 4
mov edi, dword [0x422078]
push ebx
call edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x401ceb
mov ebx, 0x425484
lea esi, [esp + 0xb4]
call fcn.004014ff
push 0x4253cc
mov byte [esp + 0x18c], 5
push dword [esp + 0x1c]
mov ecx, esi
push edi
lea edi, [esp + 0x6c]
call 0x406791
lea ecx, [esp + 0x150]
mov byte [esp + 0x188], 6
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], 0x425350
mov dword [esp + 0x24], 0x42543c
mov dword [esp + 0x28], 0x4f
call 0x40357c
mov dword [esp], 0x427bac
lea eax, [esp + 0x154]
jmp 0x401c3c
mov edi, dword [0x42207c]
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push ebx
call edi
test eax, eax
jne 0x401d79
mov ebx, 0x4254a0
lea esi, [esp + 0xb4]
call fcn.004014ff
push 0x4253cc
mov byte [esp + 0x18c], 7
call dword [0x42208c]
push eax
push edi
mov ecx, esi
lea edi, [esp + 0x6c]
call 0x406791
lea ecx, [esp + 0x150]
mov byte [esp + 0x188], 8
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], 0x425350
mov dword [esp + 0x24], 0x42543c
mov dword [esp + 0x28], 0x54
call 0x40357c
mov dword [esp], 0x427bac
lea eax, [esp + 0x154]
jmp 0x401c3c
mov edi, dword [esp + 0x28]
push esi
mov byte [esp + 0x18c], 3
call 0x40b4d3
pop ecx
push ebx
mov byte [esp + 0x18c], 0
call 0x40b4d3
pop ecx
lea esi, [esp + 0x38]
call 0x402aea
mov eax, edi
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call 0x40c935
mov esp, ebp
pop ebp
ret