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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov edi, dword [eax + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x371ae0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x371b00
sar ecx, 1
mov dword [esp + 0x50], ecx
sar eax, 1
lea edx, [ecx + eax]
mov dword [esp + 0x4c], eax
add eax, ecx
add eax, 0x1b
test eax, eax
mov dword [esp + 0x48], edx
jns 0x371b2e
mov eax, 0xffffffff
jmp 0x371b35
lea eax, [edx*2 + 0x36]
push eax
call fcn.0035c880
add esp, 4
mov dword [esp + 8], 0x71a27fd0
mov dword [esp + 0xc], 0x75d773c1
mov dword [esp + 0x10], 0x49ca77d7
mov dword [esp + 0x14], 0x4d8d4ba8
mov dword [esp + 0x18], 0x41fa4fc4
mov dword [esp + 0x1c], 0x45fc43e7
mov dword [esp + 0x20], 0x59fd47f1
mov dword [esp + 0x24], 0x5de45be9
mov dword [esp + 0x28], 0x518b5fbc
mov dword [esp + 0x2c], 0x55e653f7
mov dword [esp + 0x30], 0x29ed57e0
mov dword [esp + 0x34], 0x2d932b96
mov dword [esp + 0x38], 0x21822f99
mov dword [esp + 0x3c], 0x2320
mov byte [esp + 0x40], 0
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebp + 8]
mov edx, ebp
and edx, 0x15
mov ebx, ebp
or ebx, 0x90f42b95
add ebx, edx
xor ebx, ecx
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
add cl, 0x16
mov byte [esp + ebp + 8], cl
inc ebp
cmp ebp, 0x39
jne 0x371bc0
movzx ecx, word [edi]
mov ebx, eax
test cx, cx
je 0x371c11
add edi, 2
mov ebx, eax
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x371c00
mov word [ebx], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x371c41
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x371c30
mov word [ebx], 0
movzx ecx, word [esi]
test cx, cx
je 0x371c71
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x371c60
mov dword [esp + 4], eax
mov word [ebx], 0
mov eax, dword [esp + 0x74]
mov ebx, dword [eax]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x371c90
mov ecx, dword [esp + 0x74]
mov ebp, dword [ecx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x371cb0
mov edx, dword [esp + 0x78]
mov edi, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x371cd0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0x13
test eax, eax
jns 0x371cf4
mov eax, 0xffffffff
jmp 0x371cfd
add ecx, edx
lea eax, [ecx*2 + 0x26]
push eax
call fcn.0035c880
add esp, 4
movzx ecx, word [ebx]
mov dword [esp + 0x44], eax
mov esi, eax
test cx, cx
je 0x371d31
add ebx, 2
mov esi, dword [esp + 0x44]
nop
nop
nop
nop
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x371d20
mov word [esi], 0x2f
mov dword [esp + 8], 0x93df91c7
mov dword [esp + 0xc], 0x9f029d04
mov dword [esp + 0x10], 0x9b0c9935
mov dword [esp + 0x14], 0x872f8517
mov dword [esp + 0x18], 0x83148117
mov dword [esp + 0x1c], 0x8fd98d1f
mov dword [esp + 0x20], 0x8988
mov eax, 0x1459f1a4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x1459f19c]
xor ecx, eax
mov edx, ecx
and edx, 0x4b
xor ecx, 0xcb
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x1459f19c], cl
inc eax
cmp eax, 0x1459f1c0
jne 0x371d80
add esi, 2
movzx eax, word [ebp]
test ax, ax
je 0x371dd2
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [ebp]
add ebp, 2
test ax, ax
jne 0x371dc0
mov word [esi], 0
movzx eax, word [esp + 8]
test ax, ax
je 0x371e03
lea ecx, [esp + 0xa]
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x371df0
jmp 0x371e07
mov ebx, dword [esp + 4]
mov word [esi], 0
movzx eax, word [edi]
test ax, ax
je 0x371e31
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], ax
add esi, 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x371e20
mov word [esi], 0
mov dword [esp + 8], 0x191a1b6a
mov byte [esp + 0xc], 0
mov eax, 0x9997b6bb
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6668494d]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x59
mov byte [esp + eax + 0x6668494d], cl
inc eax
cmp eax, 0x9997b6c0
jne 0x371e50
lea eax, [esp + 8]
push 0
push 0
push 0xc00000
push eax
push ebx
push dword [esp + 0x58]
push dword [esp + 0x88]
call fcn.00375390
add esp, 0x1c
mov byte [esp + 3], al
jmp dword [0x39b6bc]