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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x1002c00f
cmp edi, esi
je 0x1002c00f
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov byte [ebp - 0x48], 0x41
mov byte [ebp - 0x47], 0x42
mov byte [ebp - 0x46], 0x43
mov byte [ebp - 0x45], 0x44
mov byte [ebp - 0x44], 0x45
mov byte [ebp - 0x43], 0x46
mov byte [ebp - 0x42], 0x47
mov byte [ebp - 0x41], 0x48
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x4a
mov byte [ebp - 0x3e], 0x4b
mov byte [ebp - 0x3d], 0x4c
mov byte [ebp - 0x3c], 0x4d
mov byte [ebp - 0x3b], 0x4e
mov byte [ebp - 0x3a], 0x4f
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x51
mov byte [ebp - 0x37], 0x52
mov byte [ebp - 0x36], 0x53
mov byte [ebp - 0x35], 0x54
mov byte [ebp - 0x34], 0x55
mov byte [ebp - 0x33], 0x56
mov byte [ebp - 0x32], 0x57
mov byte [ebp - 0x31], 0x58
mov byte [ebp - 0x30], 0x59
mov byte [ebp - 0x2f], 0x5a
mov byte [ebp - 0x2e], 0x61
mov byte [ebp - 0x2d], 0x62
mov byte [ebp - 0x2c], 0x63
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x66
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x68
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x6a
mov byte [ebp - 0x24], 0x6b
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6d
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x70
mov byte [ebp - 0x1e], 0x71
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x76
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x78
mov byte [ebp - 0x16], 0x79
mov byte [ebp - 0x15], 0x7a
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x2b
mov byte [ebp - 9], 0x2f
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x1002bfff
add edi, 4
jmp 0x1002bf63
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x1002bf78
mov dword [ebp - 4], 2
jmp 0x1002bf99
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x1002bf8f
mov dword [ebp - 4], 1
jmp 0x1002bf99
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x1002c00f
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x1002bfd2
mov byte [ecx], 0x3d
jmp 0x1002bfde
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x1002bfe9
mov byte [ecx], 0x3d
jmp 0x1002bfef
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x1002bf60
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret