Function at 0x10022814
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, eax
and ecx, reloc.WS2_32.dll_closesocket
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], 0x30
jns 0x1002283b
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x1002284c
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, eax, 3
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov byte [ebp - 0x58], 0x41
mov byte [ebp - 0x57], 0x42
mov byte [ebp - 0x56], 0x43
mov byte [ebp - 0x55], 0x44
mov byte [ebp - 0x54], 0x45
mov byte [ebp - 0x53], 0x46
mov byte [ebp - 0x52], 0x47
mov byte [ebp - 0x51], 0x48
mov byte [ebp - 0x50], 0x49
mov byte [ebp - 0x4f], 0x4a
mov byte [ebp - 0x4e], 0x4b
mov byte [ebp - 0x4d], 0x4c
mov byte [ebp - 0x4c], 0x4d
mov byte [ebp - 0x4b], 0x4e
mov byte [ebp - 0x4a], 0x4f
mov byte [ebp - 0x49], 0x50
mov byte [ebp - 0x48], 0x51
mov byte [ebp - 0x47], 0x52
mov byte [ebp - 0x46], 0x53
mov byte [ebp - 0x45], 0x54
mov byte [ebp - 0x44], 0x55
mov byte [ebp - 0x43], 0x56
mov byte [ebp - 0x42], 0x57
mov byte [ebp - 0x41], 0x58
mov byte [ebp - 0x40], 0x59
mov byte [ebp - 0x3f], 0x5a
mov byte [ebp - 0x3e], 0x61
mov byte [ebp - 0x3d], 0x62
mov byte [ebp - 0x3c], 0x63
mov byte [ebp - 0x3b], 0x64
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x66
mov byte [ebp - 0x38], 0x67
mov byte [ebp - 0x37], 0x68
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x35], 0x6a
mov byte [ebp - 0x34], 0x6b
mov byte [ebp - 0x33], 0x6c
mov byte [ebp - 0x32], 0x6d
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x6f
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], 0x71
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x73
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x75
mov byte [ebp - 0x29], 0x76
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x78
mov byte [ebp - 0x26], 0x79
mov byte [ebp - 0x25], 0x7a
mov byte [ebp - 0x24], 0x30
mov byte [ebp - 0x23], 0x31
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x33
mov byte [ebp - 0x20], 0x34
mov byte [ebp - 0x1f], 0x35
mov byte [ebp - 0x1e], 0x36
mov byte [ebp - 0x1d], 0x37
mov byte [ebp - 0x1c], 0x38
mov byte [ebp - 0x1b], 0x39
mov byte [ebp - 0x1a], 0x2b
mov byte [ebp - 0x19], 0x2f
cmp dword [ebp + 0x18], ebx
je 0x1002295b
mov byte [ebp - 0x1a], 0x2d
mov byte [ebp - 0x19], 0x5f
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
jle 0x10022ac5
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 1
sub dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 2
sub dword [ebp - 0x14], esi
cmp dword [ebp + 0x10], ebx
je 0x100229c7
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x18]
test edx, edx
jne 0x100229c7
cmp dword [ebp - 8], ebx
je 0x100229c7
push ebx
push 1
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
mov byte [ebp + 0x14], 0xd
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
push ebx
push 1
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
mov byte [ebp + 0x14], 0xa
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
mov eax, dword [ebp - 0x10]
add eax, esi
cmp eax, dword [ebp + 0xc]
jge 0x100229d9
mov al, byte [esi + 1]
mov byte [ebp + 0xb], al
jmp 0x100229dc
mov byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x14]
add eax, esi
cmp eax, dword [ebp + 0xc]
jge 0x100229ee
mov al, byte [esi + 2]
mov byte [ebp + 0x17], al
jmp 0x100229f1
mov byte [ebp + 0x17], bl
movzx eax, byte [esi]
shr eax, 2
mov al, byte [ebp + eax - 0x58]
push ebx
mov byte [ebp - 4], al
push 1
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
movzx edi, byte [ebp + 0xb]
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov ecx, edi
shr ecx, 4
or eax, ecx
mov al, byte [ebp + eax - 0x58]
mov ecx, dword [ebp - 0xc]
push ebx
mov byte [ebp + 8], al
push 1
lea eax, [ebp + 8]
push eax
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
mov eax, dword [ebp - 0x10]
add eax, esi
cmp eax, dword [ebp + 0xc]
jge 0x10022a68
movzx eax, byte [ebp + 0x17]
and edi, 0xf
shr eax, 6
shl edi, 2
or eax, edi
mov al, byte [ebp + eax - 0x58]
mov byte [ebp + 8], al
jmp 0x10022a6c
mov byte [ebp + 8], 0x3d
mov ecx, dword [ebp - 0xc]
push ebx
push 1
lea eax, [ebp + 8]
push eax
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
add eax, esi
cmp eax, edi
jge 0x10022a9b
movzx eax, byte [ebp + 0x17]
and eax, 0x3f
mov al, byte [ebp + eax - 0x58]
mov byte [ebp + 0x14], al
jmp 0x10022a9f
mov byte [ebp + 0x14], 0x3d
mov ecx, dword [ebp - 0xc]
push ebx
push 1
lea eax, [ebp + 0x14]
push eax
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
add dword [ebp - 8], 3
add esi, 3
cmp dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
jl 0x1002297e
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 1]
cmp dword [ebp - 8], ecx
jne 0x10022aff
mov ecx, edi
call fcn.1001ca32
cmp eax, ebx
jne 0x10022af8
cmp dword [ebp + 0x18], ebx
jne 0x10022af6
push ebx
push 1
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp + 0xc], 0x3d
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
add eax, 2
cmp dword [ebp - 8], eax
jne 0x10022af6
mov ecx, edi
call fcn.1001ca32
cmp eax, ebx
jne 0x10022af8
mov ecx, edi
call fcn.1001ca32
cmp eax, ebx
jne 0x10022af8
cmp dword [ebp + 0x18], ebx
jne 0x10022af6
push ebx
push 1
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp + 0xc], 0x3d
call fcn.1001c861
cmp eax, ebx
jne 0x10022af8
jmp 0x10022ae0