Function at 0x40d7b0
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, 0x5c
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp], 0xe0503
xor ebp, ebp
mov ebx, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
or eax, 0xd11aa7bd
add eax, ebp
inc eax
mov ecx, eax
and ecx, 2
mov edi, eax
or eax, 2
imul eax, ecx
xor ecx, 2
and edi, 0xfffffffd
imul edi, ecx
mov ecx, ebp
xor ecx, 0xd11aa7bd
add ecx, eax
add ecx, edi
movzx eax, byte [esp + ebp]
xor ecx, eax
mov eax, ecx
and eax, 0x4e
xor ecx, 0x4e
lea eax, [ecx + eax*2]
inc al
mov byte [esp + ebp], al
inc ebp
dec ebx
cmp ebp, 4
jne 0x40d7e0
mov dword [esp + 4], 0x60804f2
mov word [esp + 8], 0xedf6
mov dword [esp + 0xa], 0
xor ebx, ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebx
and ecx, 0x18
mov eax, edi
xor eax, 0x7c
add eax, ecx
xor al, byte [esp + edi + 4]
add al, 0x94
mov byte [esp + edi + 4], al
inc edi
add ebx, 2
cmp edi, 0xa
jne 0x40d850
mov dword [esp + 0x18], 0xd6dc0003
mov dword [esp + 0x1c], 0xd2d604f8
mov dword [esp + 0x20], 0x2dc6cc03
mov dword [esp + 0x24], 0x2a312e39
mov dword [esp + 0x28], 0xf2293d3e
mov dword [esp + 0x2c], 0x3407d9df
mov dword [esp + 0x30], 0x2721333a
mov dword [esp + 0x34], 0x261ee42c
mov dword [esp + 0x38], 0x242f2f29
mov dword [esp + 0x3c], 0x2429272b
mov dword [esp + 0x40], 0xff61d2a
mov dword [esp + 0x44], 0xd2151919
mov dword [esp + 0x48], 0x21a0c08
mov dword [esp + 0x4c], 0x61cc32d
mov dword [esp + 0x50], 0xdb29001b
mov byte [esp + 0x54], 0xf8
mov dword [esp + 0x55], 0
mov word [esp + 0x59], 0
mov ebx, 0xf5
movzx ebp, byte [esp + ebx - 0xdd]
lea eax, [ebx - 0xe0]
lea ecx, [ebp*2]
not ecx
add ecx, ebp
and ecx, 0xe6
and ebp, 0x19
or ebp, ecx
mov ecx, ebx
and ecx, 0xe6
and eax, 0x19
or eax, ecx
xor eax, ebp
xor al, 0xe6
add al, 0x37
mov byte [esp + ebx - 0xdd], al
inc ebx
cmp ebx, 0x138
jne 0x40d900
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x10]
movzx eax, byte [esp + 0x18]
mov edi, ecx
test al, al
je 0x40d96b
lea ebx, [esp + 0x19]
mov edi, ecx
mov byte [edi], al
inc edi
movzx eax, byte [ebx]
inc ebx
test al, al
jne 0x40d960
mov byte [edi], 0
movzx eax, byte [esi]
test al, al
je 0x40d98b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d980
mov byte [edi], 0
movzx eax, byte [esp + 4]
test al, al
je 0x40d9ab
lea esi, [esp + 5]
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d9a0
mov byte [edi], 0
movzx eax, byte [edx]
test al, al
je 0x40d9cb
inc edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40d9c0
mov byte [edi], 0
movzx eax, byte [esp]
test al, al
je 0x40d9eb
lea edx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40d9e0
mov byte [edi], 0
sub edi, ecx
mov eax, dword [esp + 0x14]
add dword [eax + 0x60], edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc