Function at 0x4038f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0x7af1
mov word [esp + 0x14c], 0x52df
mov byte [esp + 0x14b], pe_nt_image_headers32
mov dword [esp + 0x144], 0x526f
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x15c]
mov edx, eax
add edx, 0xffffe7d8
mov esi, ecx
adc esi, 0xffffffff
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
mov bl, byte [esp + 0x16b]
movzx edx, word [esp + 0x14c]
mov di, dx
xor edx, 0x1840
mov si, dx
mov word [esp + 0x76], si
mov edx, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, 0xb143
sub eax, edx
mov edx, dword [esp + 0x38]
sbb edx, esi
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edx
mov si, di
xor si, 0xffff
mov word [esp + 0x14e], si
mov eax, esp
mov dword [eax], 0x4061ce
mov word [esp + 0x36], di
mov dword [esp + 0x30], ecx
mov byte [esp + 0x2f], bl
call fcn.004037d0
sub esp, 4
mov ecx, dword [esp + 0x144]
add ecx, 0xffffad91
cmp eax, ecx
mov dword [esp + 0x28], eax
jne 0x403a68
jmp 0x403ce3
mov eax, dword [esp + 0x60]
mov dword [esp + 0xd4], eax
jmp 0x403adf
mov al, 0x1e
sub al, byte [esp + 0x14b]
mov ecx, esp
mov dword [ecx], 0x4061ce
mov byte [esp + 0x27], al
call fcn.004037d0
sub esp, 4
mov dl, 0x4e
mov dword [esp + 0x64], eax
mov si, word [esp + 0x36]
add si, 0x14c1
mov word [esp + 0x14e], si
mov dh, byte [esp + 0x27]
mov byte [esp + 0x4b], dh
cmp dl, byte [esp + 0x4b]
jae 0x403d5e
jmp 0x403a68
mov eax, dword [esp + 0x40]
mov cl, byte [esp + 0x2f]
mov byte [esp + 0x16b], cl
mov edx, esp
lea esi, [esp + 0x84]
mov dword [edx], esi
call eax
sub esp, 4
jmp 0x403aa9
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [eax], ecx
call fcn.00401a00
sub esp, 4
mov dword [esp + 0x20], eax
jmp 0x403ce3
mov eax, 0x526f
sub eax, dword [esp + 0x144]
mov ecx, esp
mov dword [ecx], 0x4061ce
mov dword [esp + 0x1c], eax
call fcn.004037d0
sub esp, 4
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jne 0x403a47
mov eax, dword [esp + 0x144]
mov ecx, 0x5270
sub ecx, eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x403a81
mov eax, esp
mov dword [eax], 0
call fcn.00402eb0
sub esp, 4
mov dword [esp + 0xd0], eax
jmp 0x4039fe
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x144]
add ecx, 0xffffad91
mov edx, esp
mov dword [edx + 4], eax
lea eax, [esp + 0x84]
mov dword [edx], eax
mov dword [esp + 0x18], ecx
call fcn.00402070
sub esp, 8
mov dword [esp + 0x40], eax
mov eax, esp
mov dword [eax], 0x4061ce
call fcn.004037d0
sub esp, 4
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x403ac1
jmp 0x403a81
mov eax, dword [esp + 0xd0]
mov ecx, esp
mov dword [ecx], eax
call fcn.00402c40
sub esp, 4
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x60], eax
xor ecx, 0x7e68
or ecx, edx
mov dword [esp + 0x14], ecx
je 0x403b2b
jmp 0x4039ee
lea eax, [0x41fc0c]
mov cl, 0x9d
mov edx, dword [0x41fa00]
mov esi, dword [esp + 0x28]
add esi, 0xffffc3e7
mov dword [esp + 0x164], esi
mov dword [esp + 0x100], edx
mov edx, dword [0x41fa04]
mov dword [esp + 0x104], edx
mov edx, dword [0x41fa08]
mov dword [esp + 0x108], edx
mov edx, dword [0x41fa0c]
mov dword [esp + 0x10c], edx
mov edx, dword [0x41fa10]
mov dword [esp + 0x110], edx
mov edx, dword [0x41fa14]
mov dword [esp + 0x114], edx
mov edx, dword [0x41fa18]
mov dword [esp + 0x118], edx
mov edx, dword [0x41fa1c]
mov esi, dword [esp + 0x144]
mov edi, 0x526f
sub edi, esi
mov bx, word [esp + 0x36]
mov word [esp + 0x14e], bx
mov esi, dword [esp + 0x3c]
add esi, 0x39a3
mov ebx, dword [esp + 0x30]
adc ebx, 0
mov dword [esp + 0x154], ebx
mov dword [esp + 0x150], esi
mov dword [esp + 0x11c], edx
mov edx, dword [0x41fa20]
mov dword [esp + 0x120], edx
mov edx, dword [0x41fa24]
mov dword [esp + 0x124], edx
mov edx, dword [0x41fa28]
mov dword [esp + 0x128], edx
mov edx, dword [0x41fa2c]
mov ch, byte [esp + 0x2f]
sub cl, ch
mov byte [esp + 0x16b], cl
mov dword [esp + 0x12c], edx
mov dword [esp + 0x134], eax
mov eax, esp
mov dword [eax], 0x4061ce
mov dword [esp + 0x10], edi
call fcn.004037d0
sub esp, 4
mov edx, dword [esp + 0x10]
cmp eax, edx
jne 0x403ac3
jmp 0x4039fe
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
add eax, eax
mov ecx, dword [esp + 0x30]
adc ecx, ecx
mov edx, dword [0x41f9f8]
mov dword [esp + 0x154], ecx
mov dword [esp + 0x150], eax
mov dword [esp + 0xe8], edx
mov eax, dword [0x41f9fc]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor eax, 0x4f73
or eax, ecx
mov dword [esp + 0xc], eax
je 0x403a81
jmp 0x403b60
mov ax, 0x4f11
lea ecx, [esp + 0x84]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xb8], edx
movsd xmm0, qword [esp + 0x138]
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0xbc], 0x3f400
mov edx, dword [0x41f9e8]
mov dword [esp + 0xf0], edx
mov edx, dword [0x41f9ec]
mov dword [esp + 0xf4], edx
mov si, word [esp + 0x76]
mov edx, dword [0x41f9f0]
mov dword [esp + 0xf8], edx
mov edx, dword [0x41f9f4]
mov dword [esp + 0x44], edx
add ecx, 0x68
mov dword [esp + 0x4c], ecx
cmp ax, si
jae 0x403c88
jmp 0x403a47
mov eax, 0x526f
sub eax, dword [esp + 0x144]
cmp dword [esp + 0x64], eax
jne 0x403b2b
jmp 0x403adf