Function at 0x40a700
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa4
cmp dword [ecx + 0x20], 0
je 0x40a75f
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x40a766
cmp al, 0x64
jb 0x40a771
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
shr ecx, 0xc
imul edx, ecx, 0x64
sub al, dl
movzx eax, al
mov edx, eax
or edx, 2
mov edi, eax
and edi, 2
imul edx, edi
xor edi, 2
and eax, 0x7d
imul eax, edi
movzx eax, word [eax + edx + 0x444318]
mov word [esp + 9], ax
mov edx, 0xfffffffd
mov eax, ecx
jmp 0x40a77a
mov bl, 1
jmp 0x40ac88
lea ebx, [esp + 0xa]
mov byte [esp + 0xa], 0x30
jmp 0x40a7b6
mov edx, 0xffffffff
cmp al, 9
ja 0x40a78f
lea ecx, [esp + 0xc]
lea ebx, [ecx + edx]
dec ebx
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [esp + edx + 0xb], al
jmp 0x40a7b6
mov ecx, eax
and ecx, 0x7d
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
xor edx, 2
imul edx, ecx
movzx eax, word [edx + eax + 0x444318]
lea ebx, [esp + 9]
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407540
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x400]
push eax
call fcn.004096b0
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], 0xfefcefff
mov byte [esp + 0x20], 0x5b
mov dword [esp + 0x21], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40a83e
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
add eax, 0x146e4ef5
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x5e
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40a810
lea eax, [esp + 0x1c]
mov ecx, esi
push 0x44baa0
push eax
push edi
call fcn.0040a0e0
mov dword [esp + 0x1c], 0xc0676b4d
mov dword [esp + 0x20], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40a8ab
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
lea edx, [eax + ecx]
add edx, 0x9164142f
add eax, 0x9164142f
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0xe
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40a870
mov ecx, esi
push ebx
lea ebx, [esp + 0x20]
push ebx
push edi
call fcn.0040a0e0
mov eax, dword [str.MeHdy4__pl2vrs3]
mov dword [esp + 0x1c], 0x23889292
mov dword [esp + 0x20], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 7
ja 0x40a910
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x1c]
add ecx, 0x3eae8401
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0xd9
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 8
jb 0x40a8e0
mov ecx, esi
push eax
push ebx
push edi
call fcn.0040a0e0
mov dword [esp + 0x1c], 0x6b4a7247
mov dword [esp + 0x20], 0x5e6f5667
mov dword [esp + 0x24], 0x64696e5f
mov byte [esp + 0x28], 0xce
mov word [esp + 0x29], 0
mov byte [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xf
ja 0x40a98e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
add eax, 0xbbfbd06d
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x49
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x10
jb 0x40a960
mov dword [esp + 0xc], 0x6cffc9c8
mov word [esp + 0x10], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x40a9e1
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xc643a051
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xc8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x40a9b0
lea eax, [esp + 0xc]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040a0e0
mov dword [esp + 0x1c], 0x6b616165
mov byte [esp + 0x20], 0xf7
mov dword [esp + 0x21], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40aa4e
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x1c]
add eax, 0xe8c81626
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x23
mov ecx, dword [esp]
mov byte [esp + ecx + 0x1c], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40aa20
mov ecx, esi
push ebp
push dword [esp + 0x1c]
push ebx
push edi
call fcn.0040a340
mov eax, dword [esi + 0x60]
mov dword [esp + 0x1c], 0xb123b3fd
mov dword [esp + 0x20], 0xbd20bf2c
mov dword [esp + 0x24], 0xb92abbd7
mov dword [esp + 0x28], 0xa5f1a73a
mov dword [esp + 0x2c], 0xa139a3de
mov dword [esp + 0x30], 0xadc1af3e
mov dword [esp + 0x34], 0xa988abec
mov dword [esp + 0x38], 0xd549d743
mov dword [esp + 0x3c], 0xd14cd346
mov dword [esp + 0x40], 0xdd4cdfb7
mov dword [esp + 0x44], 0xd946dbbb
mov dword [esp + 0x48], 0xc597c75a
mov dword [esp + 0x4c], 0xc153c3a8
mov dword [esp + 0x50], 0xcd59cf50
mov dword [esp + 0x54], 0xc9a4cb9f
mov dword [esp + 0x58], 0xf568f797
mov dword [esp + 0x5c], 0xf1b7f393
mov dword [esp + 0x60], 0xfd92ffde
mov dword [esp + 0x64], 0xf965fb69
mov dword [esp + 0x68], 0xe588e774
mov dword [esp + 0x6c], 0xe17ee383
mov dword [esp + 0x70], 0xeda9ef77
mov dword [esp + 0x74], 0xe985eb84
mov dword [esp + 0x78], 0x1549174e
mov dword [esp + 0x7c], 0x117d137e
mov dword [esp + 0x80], 0x1d751f43
mov dword [esp + 0x84], 0x19741b8a
mov dword [esp + 0x88], 0x56b0795
mov dword [esp + 0x8c], 0x16d036b
mov dword [esp + 0x90], 0xd920f90
mov dword [esp + 0x94], 0x9590b67
mov dword [esp + 0x98], 0x35023703
mov word [esp + 0x9c], 0x3332
mov byte [esp + 0xa2], 0
mov dword [esp + 0x9e], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x86
ja 0x40abe3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x1c]
add ecx, 0xb5d95924
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x6a
mov edx, dword [esp]
mov byte [esp + edx + 0x1c], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x87
jb 0x40abb0
mov dword [esp + 0xc], 0x54b64a7a
mov dword [esp + 0x10], 0x50ba56a7
mov dword [esp + 0x14], 0x5253
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xb
ja 0x40ac53
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0xc]
lea ebx, [ecx + edx]
add ebx, 0x2e95358e
add ecx, 0x2e95358e
not edx
or ecx, edx
sub edx, ecx
lea ecx, [ebx + edx*2]
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x3b
mov edx, dword [esp + 4]
mov byte [esp + edx + 0xc], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xc
jb 0x40ac10
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040cbf0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.004096c0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret