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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41d200
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41d210
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x41d230
mov eax, 0xffffffff
jmp 0x41d239
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.004086b0
add esp, 4
mov esi, eax
mov dword [esp + 0x4c], 0xe911eb06
mov dword [esp + 0x50], 0xed05ef1d
mov dword [esp + 0x54], 0xf137f31a
mov dword [esp + 0x58], 0xf504f701
mov dword [esp + 0x5c], 0xf911fb00
mov dword [esp + 0x60], 0xfd0aff00
mov dword [esp + 0x64], 0x81668333
mov dword [esp + 0x68], 0x85b28743
mov dword [esp + 0x6c], 0x89b58bb2
mov dword [esp + 0x70], 0x8db18fbc
mov dword [esp + 0x74], 0x91ab93b6
mov dword [esp + 0x78], 0x95a997a6
mov dword [esp + 0x7c], 0x99469baf
mov dword [esp + 0x80], 0x9d7a9f77
mov dword [esp + 0x84], 0xa1a2a37a
mov word [esp + 0x88], 0
mov byte [esp + 0x8a], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x27
xor cl, byte [esp + eax + 0x4c]
add cl, 0x3d
mov byte [esp + eax + 0x4c], cl
inc eax
cmp eax, 0x3f
jne 0x41d2e0
mov dword [esp + 4], 0x1fb07e0
mov dword [esp + 8], 0xdf303fc
mov dword [esp + 0xc], 0x9ed0ffe
mov dword [esp + 0x10], 0x15e50be1
mov dword [esp + 0x14], 0x11fa17f0
mov dword [esp + 0x18], 0x1dfc13ff
mov dword [esp + 0x1c], 0x19e11fff
mov dword [esp + 0x20], 0x25e61bec
mov dword [esp + 0x24], 0x21d127c0
mov dword [esp + 0x28], 0x2dd823d1
mov dword [esp + 0x2c], 0x29c12f1b
mov dword [esp + 0x30], 0x35d62bd0
mov dword [esp + 0x34], 0x31c037db
mov dword [esp + 0x38], 0x3dd933cd
mov dword [esp + 0x3c], 0x39c83fcd
mov dword [esp + 0x40], 0xc50f3b0d
mov dword [esp + 0x44], 0xc1c6c7f1
mov word [esp + 0x48], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xc1
xor cl, byte [esp + eax + 4]
add cl, 0x3b
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 0x46
jne 0x41d390
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x41d3d1
add ecx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41d3c0
mov word [eax], 0
movzx ecx, word [esp + 4]
test cx, cx
je 0x41d401
lea edx, [esp + 6]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d3f0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x41d431
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41d420
mov word [eax], 0
movzx ecx, word [esp + 0x4c]
test cx, cx
je 0x41d461
lea edx, [esp + 0x4e]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d450
mov word [eax], 0
mov ebx, dword [edi]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41d470
mov edx, dword [ebp]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41d490
mov edi, dword [ebp + 8]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x41d4b0
mov dword [esp], esi
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xb
mov esi, ebp
test eax, eax
jns 0x41d4d9
mov eax, 0xffffffff
jmp 0x41d4e2
add ecx, edx
lea eax, [ecx*2 + 0x16]
push eax
call fcn.004086b0
add esp, 4
mov edi, eax
mov dword [esp + 4], 0x11fd1ff5
mov dword [esp + 8], 0x158e138c
mov dword [esp + 0xc], 0x98217f3
mov dword [esp + 0x10], 0xddb0b9d
mov dword [esp + 0x14], 0xf0c
mov eax, 0x45
mov ecx, 0xba
nop
movzx edx, byte [esp + eax - 0x41]
mov ebp, eax
or ebp, edx
not edx
or edx, ecx
and edx, ebp
add dl, 0xa7
mov byte [esp + eax - 0x41], dl
inc eax
dec ecx
cmp eax, 0x59
jne 0x41d520
movzx ecx, word [esp + 4]
mov eax, edi
test cx, cx
je 0x41d561
lea edx, [esp + 6]
mov eax, edi
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d550
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x41d591
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41d580
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esi]
movzx edx, word [ecx]
test dx, dx
je 0x41d5c1
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41d5b0
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esi + 8]
movzx edx, word [ecx]
test dx, dx
je 0x41d5f3
add ecx, 2
mov esi, dword [esp]
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41d5e0
jmp 0x41d5f6
mov esi, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0xb18e8fa6
mov byte [esp + 8], 0
lea eax, [esp + 4]
mov ecx, 0x34884e2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
mov ebx, ecx
and ebx, 0x20880a2
lea ebp, [ecx - 0x18000000]
and ebp, 0xe940045d
or ebp, ebx
xor ebp, edx
mov edx, 1
sub edx, ebp
and edx, 1
or ebp, 1
sub edx, ebp
add dl, 0x6e
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x34884dd
jne 0x41d620
lea eax, [esp + 4]
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xb8]
call fcn.0041d900
add esp, 0x1c
mov ebx, eax
jmp dword [0x444198]