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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 8]
mov ecx, 0x24f0
lea edx, section..data
mov bl, 0xf6
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0x5ca2
mov byte [esp + 0x9f], 0xfe
mov dword [esp + 0x98], 0x24f0
mov byte [esp + 0x8b], 0x11
mov bh, byte [esp + 0x9f]
sub bl, bh
mov byte [esp + 0x6f], bl
mov bl, byte [esp + 0x9f]
xor bl, 0xee
mov byte [esp + 0x93], bl
mov esi, dword [esp + 0x98]
mov edi, esi
xor edi, 0x42a5
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x98]
xor eax, 0x24f0
mov dword [esp + 0x64], eax
sub ecx, dword [esp + 0x98]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], esi
mov byte [esp + 0x1f], bh
jmp 0x401f1c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], ecx
call fcn.004034d0
sub esp, 0xc
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x8c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], eax
jmp 0x401d92
mov al, 0xa
mov ecx, dword [esp + 0x7c]
add ecx, 0x6c3c
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
cmp al, byte [esp + 0x3b]
jae 0x401da8
jmp 0x401da8
mov al, 0x2f
sub al, byte [esp + 0x9f]
mov ecx, esp
mov dword [ecx], str.VirtualAlloc
mov byte [esp + 0x17], al
jmp loc.0049b000
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x2c], eax
jmp 0x401f1c
mov eax, dword [esp + 0x64]
mov cx, word [esp + 0xae]
mov word [esp + 0xae], cx
add eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
jmp 0x401c95
movsd xmm0, qword [esp + 0xa0]
mov eax, dword [esp + 0x2c]
movsd qword [esp + 0xa0], xmm0
shl eax, 4
add eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
mov cl, byte [esp + 0x1f]
mov byte [esp + 0xbf], cl
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
cmp byte [esp + 0x6f], 0x51
ja 0x401e16
jmp 0x401f1c
mov al, 0x40
mov cl, byte [esp + 0x93]
mov edx, dword [esp + 0x64]
mov byte [esp + 0x3b], cl
mov esi, dword [esp + 0x7c]
mov byte [esp + 0x8a], 0xc9
mov edi, dword [esp + 0x20]
imul ebx, edi, 0x54e3
mov cl, byte [esp + 0x8a]
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0x7c]
sub al, byte [esp + 0x9f]
mov edi, esp
mov dword [edi + 8], edx
mov dword [edi + 4], esi
mov dword [edi], ebx
mov byte [esp + 0x16], cl
mov byte [esp + 0x15], al
call fcn.00401f40
sub esp, 0xc
mov al, byte [esp + 0x16]
mov cl, byte [esp + 0x15]
cmp al, cl
jne 0x401bcf
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x98]
add ecx, 0xffffdb4a
cmp eax, ecx
jb 0x401e6d
jmp 0x401d0a
mov eax, dword [esp + 0x98]
xor eax, 0x24f1
add eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
jmp 0x401d74
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
not eax
not ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
xor ecx, 0x3def0
mov edx, dword [esp + 0x58]
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x7c]
add eax, 0xe52
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x98]
xor edx, 0xcf0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov eax, dword [ecx + eax + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x48]
xor ecx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
xor ecx, 0xabb
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], ecx
cmp eax, 0x63a
je 0x401d74
jmp 0x401ca5
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
shl edx, 4
mov edx, dword [esi + edx + 4]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
shl esi, 4
mov edx, dword [edx + esi + 8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc0], 0x5083
mov esi, dword [esp + 0x24]
shl edx, 4
mov edx, dword [esi + edx + 0xc]
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x7adc
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x8c]
xor esi, edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x60], esi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x7c]
add esi, edx
mov dword [esp + 0x74], esi
xor eax, 0xb138
or eax, ecx
mov dword [esp + 0x10], eax
je 0x401d74
jmp 0x401b99
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x98]
add ecx, 0xffffdb4a
cmp eax, ecx
jb 0x401cc3
jmp 0x401bf6