Function at 0x40db60
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, 0xac
cmp dword [ecx + 0x20], 0
je 0x40e02e
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa8]
push 0xa
push 4
push ecx
push eax
call fcn.0040e040
add esp, 0x10
mov dword [esp + 4], eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a820
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.0040c9f0
add esp, 4
mov dword [esp], eax
mov dword [esp + 0x20], 0x8d85928c
mov byte [esp + 0x24], 0x28
mov dword [esp + 0x25], 0
mov dword [esp + 0x28], 0
xor eax, eax
mov ecx, eax
add cl, 7
xor cl, byte [esp + eax + 0x20]
add cl, 0xdd
mov byte [esp + eax + 0x20], cl
inc eax
cmp eax, 0xc
jne 0x40dbe0
lea ebp, [esp + 0x20]
mov ecx, esi
push 0x450e80
push ebp
push dword [esp + 8]
call fcn.0040d570
mov dword [esp + 0x20], 0x298e8494
mov byte [esp + 0x24], 0
mov eax, 0x3ff06c7
mov ecx, 0xfc00f93a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x3ff06a7]
mov edx, eax
and edx, edi
add edx, edx
mov ebx, edi
sub ebx, edx
add ebx, eax
sub edx, edi
add edx, ecx
not edx
and edx, 1
or ebx, 1
add ebx, 0x1c
xor ebx, edx
lea edx, [ebx + edx*2]
mov byte [esp + eax - 0x3ff06a7], dl
inc eax
dec ecx
cmp eax, 0x3ff06cc
jne 0x40dc30
mov ecx, esi
push dword [esp + 4]
push ebp
push dword [esp + 8]
call fcn.0040d570
mov eax, dword [str.tLYMe5__3]
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0x99766c68
mov word [esp + 0x24], 0
mov ecx, 0x28e45aa4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ebp]
mov edx, ecx
or edx, edi
lea ebx, [ecx - 0x28e45a00]
and ebx, edi
not edx
or edx, ebx
lea edi, [edx - 0x338a3ac8]
mov ebx, edx
and ebx, 1
mov eax, edi
and eax, 0xfe
xor edi, 1
add edx, ebx
add edx, 0xcc75c538
add edx, edi
sub edx, eax
mov byte [ebp], dl
inc ebp
dec ecx
cmp ecx, 0x28e45a9e
jne 0x40dca0
lea ebx, [esp + 0x20]
mov ecx, esi
push dword [esp + 4]
push ebx
push dword [esp + 8]
call fcn.0040d570
mov dword [esp + 0x20], 0xafa4aca3
mov dword [esp + 0x24], 0xbcb3b88b
mov dword [esp + 0x28], 0xb6b588bb
mov byte [esp + 0x2c], 0x24
mov dword [esp + 0x2d], 0
mov word [esp + 0x31], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x4c
xor cl, byte [esp + eax + 0x20]
add cl, 0x84
mov byte [esp + eax + 0x20], cl
inc eax
cmp eax, 0x13
jne 0x40dd30
mov dword [esp + 8], 0x813a2a27
mov word [esp + 0xc], 0
mov eax, 0x68759621
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x68759619]
xor ecx, eax
mov edx, ecx
and edx, 0x1194a5
xor ecx, 0x1613dda5
lea ecx, [ecx + edx*2]
mov edx, ecx
and edx, 0xf5b4115a
xor ecx, 0xf5b4115a
lea ecx, [ecx + edx*2]
mov edx, ecx
not edx
and edx, 0xa5
and ecx, 0x5a
sub ecx, edx
inc cl
mov byte [esp + eax - 0x68759619], cl
inc eax
cmp eax, 0x68759627
jne 0x40dd60
lea eax, [esp + 8]
mov ecx, esi
push ebx
push eax
push dword [esp + 8]
call fcn.0040d570
mov dword [esp + 0x20], 0x4a424042
mov byte [esp + 0x24], 0xf4
mov dword [esp + 0x25], 0
mov dword [esp + 0x28], 0
xor eax, eax
xor ecx, ecx
nop
nop
movzx edx, byte [esp + ecx + 0x20]
mov edi, eax
and edi, 0xc
mov ebp, ecx
xor ebp, 0x8521b5d6
add ebp, edi
xor ebp, edx
mov edx, ebp
and edx, 0x51
xor ebp, 0xd1
lea edx, [edx*2]
add edx, ebp
inc dl
mov byte [esp + ecx + 0x20], dl
inc ecx
add eax, 2
cmp ecx, 0xc
jne 0x40dde0
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push dword [esp + 0xc]
call fcn.0040d770
mov eax, dword [esi + 0x60]
mov dword [esp + 0x20], 0x118f1f59
mov dword [esp + 0x24], 0x1586138e
mov dword [esp + 0x28], 0x9881773
mov dword [esp + 0x2c], 0xd550b9c
mov dword [esp + 0x30], 0x1850f78
mov dword [esp + 0x34], 0x5650390
mov dword [esp + 0x38], 0x3926074e
mov dword [esp + 0x3c], 0x3dad3ba7
mov dword [esp + 0x40], 0x31aa3fa0
mov dword [esp + 0x44], 0x35a233ab
mov dword [esp + 0x48], 0x29a43757
mov dword [esp + 0x4c], 0x2d7b2bbc
mov dword [esp + 0x50], 0x21bf2f4a
mov dword [esp + 0x54], 0x25bd23b2
mov dword [esp + 0x58], 0x5942277b
mov dword [esp + 0x5c], 0x5dce5b3b
mov dword [esp + 0x60], 0x51135f3f
mov dword [esp + 0x64], 0x55305370
mov dword [esp + 0x68], 0x49c157c5
mov dword [esp + 0x6c], 0x4d2e4bd6
mov dword [esp + 0x70], 0x41dc4f2f
mov dword [esp + 0x74], 0x450d43cb
mov dword [esp + 0x78], 0x79214726
mov dword [esp + 0x7c], 0x7d2d7b30
mov dword [esp + 0x80], 0x71197f18
mov dword [esp + 0x84], 0x75e97327
mov dword [esp + 0x88], 0x691277e4
mov dword [esp + 0x8c], 0x6d0f6bf9
mov dword [esp + 0x90], 0x61096ff7
mov dword [esp + 0x94], 0x65f063f2
mov dword [esp + 0x98], 0x99356703
mov dword [esp + 0x9c], 0x9da09ba7
mov word [esp + 0xa0], 0x9f9c
mov dword [esp + 0xa2], 0
xor ecx, ecx
nop
movzx edi, byte [esp + ecx + 0x20]
mov edx, 0x8b16d5fa
sub edx, ecx
or edx, edi
mov ebp, 0xfa
sub ebp, ecx
and ebp, edi
not edx
or edx, ebp
mov edi, 1
sub edi, edx
not edi
and edi, 1
or edx, 1
add edx, edi
add dl, 0xe6
mov byte [esp + ecx + 0x20], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 0x86
jb 0x40df60
mov dword [esp + 8], 0xf313f127
mov dword [esp + 0xc], 0xef77ed7c
mov word [esp + 0x10], 0xe9e8
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
mov ecx, 0x1d8f2c
nop
movzx edx, byte [esp + ecx - 0x1d8f24]
xor edx, ecx
mov edi, edx
and edi, 0x23
xor edx, 0x23
lea edx, [edx + edi*2]
inc dl
mov byte [esp + ecx - 0x1d8f24], dl
inc ecx
cmp ecx, 0x1d8f3b
jne 0x40dfd0
push 0x493e0
push eax
mov edi, dword [esp + 8]
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x20]
push eax
call fcn.00410440
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040ca00
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e030
mov bl, 1
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret