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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x4370f0]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, dword [0x467380]
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [ecx + esi + 0x20]
add ecx, esi
mov dword [esp + 0x24], ecx
add eax, esi
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x18]
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
test edx, edx
je 0x40397e
mov edx, dword [eax]
xorps xmm0, xmm0
add edx, esi
movaps xmmword [esp + 0x30], xmm0
mov eax, edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403790
sub eax, esi
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.00404b80
mov edx, str.Dont_afraid
mov ecx, 0x4665d0
call fcn.004048e0
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edi + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x2c], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [esp + 0x28]
push eax
call fcn.00405370
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x30]
call eax
movzx eax, ax
mov dword [esp + 8], eax
test esi, esi
je 0x403808
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x403804
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esp + 8]
push eax
mov ecx, edi
call fcn.00404fb0
mov ecx, edi
call fcn.00404eb0
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x30]
mov esi, edi
xor esi, 0x14d
cmp dword [esp + 0x44], 0x10
cmovae eax, dword [esp + 0x30]
push eax
shr edi, 2
push edi
push str._x_and__p
mov dword [esp + 0x14], eax
call fcn.004012c0
add esp, 0xc
xor edx, edx
test edi, edi
je 0x403875
nop dword [eax]
mov eax, dword [esp + 8]
imul esi, esi, 0x5bd1e991
imul ecx, dword [eax + edx*4], 0x5bd1e991
inc edx
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
xor esi, ecx
cmp edx, edi
jl 0x403850
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [eax + edi*4]
mov eax, dword [esp + 0x40]
and eax, 3
sub eax, 1
je 0x4038a4
sub eax, 1
je 0x40389b
sub eax, 1
jne 0x4038b1
movsx ecx, byte [edx + 2]
shl ecx, 0x10
movsx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e991
mov eax, ecx
shr eax, 0xf
xor eax, ecx
cmp eax, dword [esp + 0x1c]
je 0x403929
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
add eax, 4
mov dword [esp + 0xc], eax
cmp ecx, 0x10
jb 0x403910
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403902
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403995
push ecx
push edx
call fcn.0040a2c9
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x20]
jb 0x403768
jmp 0x40397e
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, 0x10
jb 0x40397e
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403974
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403995
push ecx
push edx
call fcn.0040a2c9
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
add eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00409e55
mov esp, ebp
pop ebp
ret
call fcn.00411304
int3