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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x14], eax
mov word [esp], 0x7d73
mov byte [esp + 2], 0x66
mov dword [esp + 3], 0
mov eax, 0x7e2d6de9
mov edx, 0x1d29216
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + eax - 0x7e2d6de9]
lea ecx, [edx - 0x80000000]
or ecx, ebp
lea ebx, [edx - 0x1d29200]
and ebx, ebp
not ecx
or ecx, ebx
lea ebx, [ecx + ecx]
not ebx
add ebx, ecx
and ebx, eax
add ebx, ebx
mov ecx, ebx
xor ecx, eax
and ebx, edx
add ebx, ebx
sub ecx, ebx
add ecx, ebp
mov ebx, ecx
and ebx, 1
or ecx, 1
add ecx, ebx
add cl, 0x72
mov byte [esp + eax - 0x7e2d6de9], cl
inc eax
dec edx
cmp eax, 0x7e2d6df0
jne 0x40da20
mov dword [esp + 8], 0xeee4e0fe
mov word [esp + 0xc], 0x93ea
mov dword [esp + 0xe], 0
mov ebp, 0x25
nop
nop
nop
nop
movzx ebx, byte [esp + ebp - 0x1d]
mov ecx, ebx
and ecx, ebp
mov eax, ecx
or al, 0xfd
inc al
mov edx, ecx
and dl, 0x3d
mul dl
mov edx, eax
add dl, bl
mov eax, ecx
shr al, 1
and al, 1
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, ebp
add al, 0x47
mov byte [esp + ebp - 0x1d], al
inc ebp
cmp ebp, 0x2f
jne 0x40da90
mov dword [esp + 0x1c], 0x9a985455
mov dword [esp + 0x20], 0x86866864
mov dword [esp + 0x24], 0x83b68875
mov dword [esp + 0x28], 0x8e8382b7
mov dword [esp + 0x2c], 0x7e8bbfbe
mov dword [esp + 0x30], 0x80552321
mov dword [esp + 0x34], 0x85b38582
mov dword [esp + 0x38], 0xb25e7880
mov dword [esp + 0x3c], 0x888d898f
mov dword [esp + 0x40], 0x90ab89b5
mov dword [esp + 0x44], 0xad665f92
mov dword [esp + 0x48], 0x66a79397
mov dword [esp + 0x4c], 0xae9aa8ac
mov dword [esp + 0x50], 0xd2e06d53
mov dword [esp + 0x54], 0x112bd4dd
mov byte [esp + 0x58], 0x74
mov dword [esp + 0x59], 0
mov byte [esp + 0x5d], 0
mov eax, 0xd2a61f0a
mov ebx, dword [esp + 0x74]
nop
nop
nop
movzx ecx, byte [esp + eax + 0x2d59e112]
xor ecx, eax
add ecx, 0xe623aa75
mov edx, ecx
and edx, 0x58
xor ecx, 0x58
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax + 0x2d59e112], cl
inc eax
cmp eax, 0xd2a61f4c
jne 0x40db60
add ebx, dword [esp + 0x14]
movzx ecx, byte [esp + 0x1c]
mov eax, ebx
test cl, cl
je 0x40dbbb
lea edx, [esp + 0x1d]
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dbb0
mov byte [eax], 0
movzx ecx, byte [esi]
test cl, cl
je 0x40dbdb
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40dbd0
mov byte [eax], 0
movzx ecx, byte [esp + 8]
test cl, cl
je 0x40dbfb
lea edx, [esp + 9]
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dbf0
mov byte [eax], 0
movzx ecx, byte [edi]
test cl, cl
je 0x40dc1b
inc edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x40dc10
mov byte [eax], 0
movzx ecx, byte [esp]
test cl, cl
je 0x40dc3b
lea edx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dc30
mov byte [eax], 0
sub eax, ebx
mov ecx, dword [esp + 0x18]
add dword [ecx + 0x60], eax
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0xc