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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb0
cmp dword [ecx + 0x20], 0
je 0x40e37e
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xac]
push 0xa
push 4
push ecx
push eax
call fcn.0040e390
add esp, 0x10
mov dword [esp + 0xa0], eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a800
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.0040ca00
add esp, 4
mov dword [esp], eax
mov dword [esp + 0x18], 0x7d7d6e7c
mov byte [esp + 0x1c], 0xe0
mov dword [esp + 0x1d], 0
mov word [esp + 0x21], 0
mov eax, 0x3099e9d9
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x3099e9c1]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xc3
mov byte [esp + eax - 0x3099e9c1], cl
inc eax
cmp eax, 0x3099e9e4
jne 0x40def0
lea eax, [esp + 0x18]
mov dword [esp + 4], esi
mov ecx, esi
push 0x4507d8
push eax
push dword [esp + 8]
call fcn.0040d890
mov dword [esp + 0x18], 0x33aea8a0
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
mov eax, 1
mov ecx, 0xffffffff
nop
nop
lea ebp, [eax - 1]
movzx edx, byte [esp + eax + 0x17]
mov edi, ecx
or edi, 0x953de9cc
or ebp, 0x953de9cc
add ebp, edi
lea edi, [eax + ebp]
and edi, edx
mov esi, edi
or esi, 0xfd
inc esi
mov ebx, edi
and ebx, 0xfffffffd
imul ebx, esi
mov esi, edi
and esi, 2
or edi, 2
imul edi, esi
add ebx, ebp
sub ebx, edi
add ebx, eax
add bl, dl
add bl, 4
mov byte [esp + eax + 0x17], bl
inc eax
dec ecx
cmp eax, 8
jne 0x40df50
mov ebp, dword [esp + 4]
mov ecx, ebp
push dword [esp + 0xa0]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 8]
call fcn.0040d890
mov eax, dword [str.vjaGvm__angry]
mov dword [esp + 0x18], 0x71dac4c0
mov word [esp + 0x1c], 0
xor ecx, ecx
movzx esi, byte [esp + ecx + 0x18]
mov edi, ecx
and edi, 3
xor edi, 0x2ba47eb
mov edx, ecx
and edx, 4
sub edx, edi
xor edx, esi
mov esi, 0xf25c9869
sub esi, edx
add edx, 0xda36796
and esi, 0xf106e4ad
and edx, 0xa681b52
sub edx, esi
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
add dl, 0xad
mov byte [esp + ecx + 0x18], dl
inc ecx
cmp ecx, 6
jne 0x40dfd0
mov ecx, ebp
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 8]
call fcn.0040d890
mov dword [esp + 0x18], 0x7f847c83
mov dword [esp + 0x1c], 0x8c73887b
mov dword [esp + 0x20], 0x7675788b
mov byte [esp + 0x24], 4
mov dword [esp + 0x25], 0
mov dword [esp + 0x28], 0
mov eax, 0x67399a05
mov ecx, 0x18c665fb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x673999ed]
lea ebx, [eax - 1]
mov esi, ecx
or esi, edx
lea edi, [ecx - 0x18c66500]
and edi, edx
xor edi, esi
or edi, ecx
add edi, eax
add edi, edi
xor ebx, edi
lea esi, [ecx - 0x18c66580]
and esi, edi
add esi, esi
sub ebx, esi
add bl, dl
add bl, 0xec
mov byte [esp + eax - 0x673999ed], bl
inc eax
dec ecx
cmp eax, 0x67399a19
jne 0x40e070
mov dword [esp + 8], 0x9feafef9
mov dword [esp + 0xc], 0
mov eax, 0x48104a1a
mov ecx, 0xe5
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x48104a12]
lea esi, [edx + edx]
not esi
add esi, edx
and esi, eax
and edx, ecx
or edx, esi
neg edx
lea esi, [edx + edx]
and esi, 6
xor edx, 0x7c
sub edx, esi
add dl, 2
mov byte [esp + eax - 0x48104a12], dl
inc eax
dec ecx
cmp eax, 0x48104a22
jne 0x40e0d0
lea ebx, [esp + 8]
mov ecx, ebp
lea eax, [esp + 0x18]
push eax
push ebx
push dword [esp + 8]
call fcn.0040d890
mov dword [esp + 0x18], 0xeee6e8ee
mov byte [esp + 0x1c], 0xac
mov dword [esp + 0x1d], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x1c
xor cl, byte [esp + eax + 0x18]
add cl, 0x74
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 9
jne 0x40e140
mov ecx, ebp
push dword [esp + 0xa8]
push dword [esp + 0xa8]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0xc]
call fcn.0040dab0
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x18], 0x299b2be1
mov dword [esp + 0x1c], 0x2d9a2f9a
mov dword [esp + 0x20], 0x31803387
mov dword [esp + 0x24], 0x35c53784
mov dword [esp + 0x28], 0x39853be0
mov dword [esp + 0x2c], 0x3d953f88
mov dword [esp + 0x30], 0x1e203c2
mov dword [esp + 0x34], 0x5bd07b3
mov dword [esp + 0x38], 0x9be0ba8
mov dword [esp + 0x3c], 0xdbe0fa7
mov dword [esp + 0x40], 0x11a413ab
mov dword [esp + 0x44], 0x15e717a4
mov dword [esp + 0x48], 0x19ab1bbe
mov dword [esp + 0x4c], 0x1dad1fae
mov dword [esp + 0x50], 0xe146e3ef
mov dword [esp + 0x54], 0xe552e747
mov dword [esp + 0x58], 0xe917eb43
mov dword [esp + 0x5c], 0xed48ef08
mov dword [esp + 0x60], 0xf149f35d
mov dword [esp + 0x64], 0xf552f742
mov dword [esp + 0x68], 0xf94cfb53
mov dword [esp + 0x6c], 0xfd3dff47
mov dword [esp + 0x70], 0xc169c35a
mov dword [esp + 0x74], 0xc53dc738
mov dword [esp + 0x78], 0xc961cb60
mov dword [esp + 0x7c], 0xcd61cf33
mov dword [esp + 0x80], 0xd176d37c
mov dword [esp + 0x84], 0xd573d761
mov dword [esp + 0x88], 0xd971db7b
mov dword [esp + 0x8c], 0xdd68df6e
mov dword [esp + 0x90], 0xa155a377
mov dword [esp + 0x94], 0xa5a8a7b3
mov word [esp + 0x98], 0xaba4
mov dword [esp + 0x9a], 0
mov ecx, 0x3c7a747
mov ebp, 0xb8
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x3c7a72f]
mov edx, ebp
xor edx, ecx
and edx, esi
xor edx, ecx
lea esi, [edx + edx]
mov edi, 2
sub edi, esi
not edi
and edi, 2
and esi, 2
sub edx, esi
add edx, edi
add dl, 0x9d
mov byte [esp + ecx - 0x3c7a72f], dl
inc ecx
dec ebp
cmp ecx, 0x3c7a7cd
jne 0x40e2b0
mov dword [esp + 8], 0xf15dff8d
mov dword [esp + 0xc], 0xf549f340
mov word [esp + 0x10], 0xf7f4
mov dword [esp + 0x12], 0
mov word [esp + 0x16], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0xb
xor esi, 0xab
mov edx, ecx
and edx, 4
sub edx, esi
xor dl, byte [esp + ecx + 8]
add dl, 0x57
mov byte [esp + ecx + 8], dl
inc ecx
cmp ecx, 0x10
jne 0x40e320
push 0x493e0
push eax
mov esi, dword [esp + 8]
push esi
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.00410680
add esp, 0x1c
mov ebx, eax
push esi
call fcn.0040ca10
add esp, 4
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x60]
add dword [ecx + 4], eax
mov dword [ecx + 0x60], 0
jmp 0x40e380
mov bl, 1
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret