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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
cmp dword [ecx + 0x20], 0
je 0x409821
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x409828
cmp al, 0x64
jb 0x409837
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
movzx edx, cx
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x43c7f8]
mov word [esp + 0xd], ax
mov ecx, 1
mov eax, edx
jmp 0x409840
mov bl, 1
jmp 0x409e9f
lea eax, [esp + 0xe]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xe], 0x30
jmp 0x40986c
mov ecx, 3
cmp al, 9
ja 0x409857
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea edx, [esp + ecx]
add edx, 0xb
mov dword [esp + 0x3c], edx
mov byte [esp + ecx + 0xb], al
jmp 0x40986c
movzx eax, word [eax + eax + 0x43c7f8]
lea ecx, [esp + 0xd]
mov dword [esp + 0x3c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.004065f0
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xe0], eax
lea ebx, [esp + 0xeb]
push ebx
call fcn.00431cd0
add esp, 4
mov dword [esp + 0xe4], edi
lea eax, [edi + 0x800]
push eax
call fcn.00433b50
add esp, 4
mov edi, eax
mov dword [esp + 0x44], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0x3f3bc83e
mov byte [esp + 0x44], 0x42
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1c
ja 0x409948
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0x40]
lea eax, [ecx + edx]
add eax, 0x4941204b
add ecx, 0x4941204b
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xf3
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1d
jb 0x409910
lea eax, [esp + 0x40]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.00408fc0
mov byte [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x6bf6f4fc
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x14
ja 0x4099d8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0x40]
lea eax, [ecx + edx]
add eax, 0xc4bdd3d2
add ecx, 0xc4bdd3d2
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x42
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x15
jb 0x4099a0
mov ecx, esi
push dword [esp + 0x3c]
push ebx
push edi
call fcn.00408fc0
mov eax, dword [str.P6Mk0M__superstar]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x23465450
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp ecx, 0x17
ja 0x409a57
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
add cl, 0x26
xor cl, byte [esp + edx + 0x40]
add cl, 0xf6
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x40], cl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x18
jb 0x409a30
mov ecx, esi
push eax
push ebx
push edi
call fcn.00408fc0
mov dword [esp + 0x40], 0x4f564e53
mov dword [esp + 0x44], 0x5a435a4b
mov dword [esp + 0x48], 0x58454a5b
mov byte [esp + 0x4c], 0x32
mov dword [esp + 0x51], 0
mov dword [esp + 0x4d], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x14
ja 0x409ac5
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
add al, 0xa5
xor al, byte [esp + ecx + 0x40]
add al, 0x7d
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x15
jb 0x409aa0
mov byte [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xb3261211
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x14
ja 0x409b48
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [esp + eax + 0x10]
lea ebx, [ecx + 0x48]
mov eax, 0xb7
sub eax, ecx
or eax, edx
not edx
or edx, ebx
add eax, edx
mov cl, 6
sub cl, al
mov eax, dword [esp + 8]
mov byte [esp + eax + 0x10], cl
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x15
jb 0x409b10
lea eax, [esp + 0x10]
mov ecx, esi
lea ebx, [esp + 0x40]
push ebx
push eax
push edi
call fcn.00408fc0
mov dword [esp + 0x44], 0
mov word [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0x360e3036
mov byte [esp + 0x44], 0x84
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x19
ja 0x409be8
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0x40]
lea eax, [ecx + edx]
add eax, 0xa5d9ec
add ecx, 0xa5d9ec
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x8c
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1a
jb 0x409bb0
mov ecx, esi
push dword [esp + 0xe4]
push dword [esp + 0xe4]
push ebx
push edi
call fcn.00409300
mov eax, dword [esi + 0x60]
mov dword [esp + 0x40], 0x638d61a3
mov dword [esp + 0x44], 0x67f2658a
mov dword [esp + 0x48], 0x6b84698d
mov dword [esp + 0x4c], 0x6f436df8
mov dword [esp + 0x50], 0x138b11e4
mov dword [esp + 0x54], 0x17f31584
mov dword [esp + 0x58], 0x1b3a19c2
mov dword [esp + 0x5c], 0x1f8b1df1
mov dword [esp + 0x60], 0x39601ec
mov dword [esp + 0x64], 0x79605ed
mov dword [esp + 0x68], 0xb9809e9
mov dword [esp + 0x6c], 0xf210d98
mov dword [esp + 0x70], 0x33dd31d6
mov dword [esp + 0x74], 0x37db35a6
mov dword [esp + 0x78], 0x3bde3915
mov dword [esp + 0x7c], 0x3faa3ddd
mov dword [esp + 0x80], 0x23f921c1
mov dword [esp + 0x84], 0x27c42504
mov dword [esp + 0x88], 0x2bbf29c7
mov dword [esp + 0x8c], 0x2fca2dc2
mov dword [esp + 0x90], 0xd340d131
mov dword [esp + 0x94], 0xd70bd54d
mov dword [esp + 0x98], 0xdb3fd93a
mov dword [esp + 0x9c], 0xdf0bdd04
mov dword [esp + 0xa0], 0xc327c124
mov dword [esp + 0xa4], 0xc72fc511
mov dword [esp + 0xa8], 0xcb2ec958
mov dword [esp + 0xac], 0xcf2dcd23
mov dword [esp + 0xb0], 0xf317f119
mov dword [esp + 0xb4], 0xf764f566
mov dword [esp + 0xb8], 0xfb2bf91d
mov dword [esp + 0xbc], 0xfff4fdf1
mov word [esp + 0xc0], 0xe1e0
mov dword [esp + 0xd9], 0
mov dword [esp + 0xd6], 0
mov dword [esp + 0xd2], 0
mov dword [esp + 0xce], 0
mov dword [esp + 0xca], 0
mov dword [esp + 0xc6], 0
mov dword [esp + 0xc2], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp ecx, 0x9c
ja 0x409dd3
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
movzx edx, byte [esp + edx + 0x40]
lea ebx, [ecx + 0x30]
and ebx, edx
add ecx, edx
add ebx, ebx
sub ecx, ebx
add cl, 0xe0
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x40], cl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x9d
jb 0x409da0
mov dword [esp + 0x10], 0xb6b0d3f
mov dword [esp + 0x14], 0x77f0978
mov word [esp + 0x18], 0x504
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov dword [esp + 0x26], 0
mov dword [esp + 0x29], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x1c
ja 0x409e6a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ebx, byte [esp + ecx + 0x10]
lea ecx, [edx + ebx]
add ecx, 0xee9e7882
add edx, 0xee9e7882
and edx, ebx
add edx, edx
sub ecx, edx
add cl, 0x72
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x1d
jb 0x409e30
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040d980
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408700
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret