Function at 0x410d50
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, 0x5a4d
push edi
cmp word [esi], ax
jne 0x410f99
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x410f99
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
mov dword [ebp - 0x11c], eax
test ecx, ecx
je 0x410f99
lea ebx, [esi + ecx]
mov dword [ebp - 0x114], ebx
test ebx, ebx
je 0x410f99
mov eax, dword [ebx + 0x20]
xor edx, edx
add eax, esi
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x120], eax
cmp dword [ebx + 0x18], edx
jbe 0x410f99
nop dword [eax]
mov edi, dword [eax + edx*4]
xorps xmm0, xmm0
mov al, byte [edi + esi]
add edi, esi
movlpd qword [ebp - 0x110], xmm0
mov ebx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x110]
test al, al
je 0x410e1f
movsx eax, al
push 0x756
cdq
push 0x32725234
xor edx, ebx
xor eax, ecx
push edx
push eax
call fcn.0042e900
lea edi, [edi + 1]
mov ecx, eax
mov al, byte [edi]
mov ebx, edx
test al, al
jne 0x410df3
mov edx, dword [ebp - 0x118]
cmp ecx, dword [ebp + 8]
jne 0x410efb
cmp ebx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x114]
jne 0x410f01
mov eax, dword [ebx + 0x24]
lea eax, [eax + edx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
add edi, esi
cmp edi, ebx
jb 0x410f86
mov eax, dword [ebp - 0x11c]
add eax, ebx
cmp edi, eax
jae 0x410f86
xor edx, edx
cmp byte [edi], dl
je 0x410e8a
lea esi, [ebp - 0x88]
mov eax, edi
sub esi, edi
cmp edx, 0x7c
jae 0x410e8a
mov cl, byte [eax]
mov byte [eax + esi], cl
cmp byte [eax], 0x2e
je 0x410e8a
inc eax
inc edx
cmp byte [eax], 0
jne 0x410e74
lea ecx, [edx + 1]
mov dword [ebp + edx - 0x87], 0x6c6c64
add ecx, edi
xor edx, edx
cmp byte [ecx], dl
je 0x410ec5
lea esi, [ebp - 0x108]
sub esi, ecx
cmp edx, 0x7f
jae 0x410eb9
mov al, byte [ecx]
inc edx
mov byte [ecx + esi], al
inc ecx
cmp byte [ecx], 0
jne 0x410ea8
cmp edx, 0x80
jae 0x410fac
lea eax, [ebp - 0x88]
mov byte [ebp + edx - 0x108], 0
push eax
call dword [0x43dbf4]
mov esi, eax
test esi, esi
jne 0x410f1c
lea eax, [ebp - 0x88]
push eax
call dword [0x43e400]
mov esi, eax
test esi, esi
jne 0x410f1c
mov edx, dword [ebp - 0x118]
jmp 0x410f01
mov ebx, dword [ebp - 0x114]
inc edx
mov dword [ebp - 0x118], edx
cmp edx, dword [ebx + 0x18]
jae 0x410f99
mov eax, dword [ebp - 0x120]
jmp 0x410dd0
mov al, byte [ebp - 0x108]
xorps xmm0, xmm0
movlpd qword [ebp - 0x110], xmm0
mov ecx, dword [ebp - 0x10c]
mov ebx, dword [ebp - 0x110]
test al, al
je 0x410f69
lea edi, [ebp - 0x108]
movsx eax, al
push 0x756
cdq
push 0x32725234
xor edx, ecx
xor eax, ebx
push edx
push eax
call fcn.0042e900
lea edi, [edi + 1]
mov ebx, eax
mov al, byte [edi]
mov ecx, edx
test al, al
jne 0x410f43
push ecx
push ebx
mov ecx, esi
call fcn.00410d50
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417fbf
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417fbf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417fbf
mov esp, ebp
pop ebp
ret
call fcn.0041815e
int3