Function at 0x642f30
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0xffffffffffffffff
push 0x7c4e38
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov ecx, eax
shr ecx, 6
lea eax, [ecx + eax + 0xa]
push eax
mov dword [esp + 0x18], eax
call fcn.0070a654
mov edx, dword [esp + 0x18]
push edx
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.007202b0
mov ecx, dword [esp + 0x70]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
push ecx
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov edi, eax
mov eax, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x642fd0
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00406a70
push esi
mov dword [esp + 0x58], ebx
call fcn.00704960
add esp, 4
cmp edi, ebx
jne 0x643010
cmp dword [esp + 0x44], 0x10
jb 0x643009
mov edx, dword [esp + 0x30]
push edx
call fcn.00704960
add esp, 4
xor eax, eax
jmp 0x643193
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
cmp edx, 0x10
jb 0x6430dc
mov edi, ecx
cmp ecx, ebx
je 0x64304b
mov eax, ecx
cmp edx, 0x10
jae 0x643032
lea eax, [esp + 0x30]
cmp eax, edi
ja 0x64304b
mov eax, ecx
cmp edx, 0x10
jae 0x643041
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
add eax, ecx
cmp edi, eax
jbe 0x643050
call fcn.0071ffb6
lea esi, [esp + 0x2c]
mov ebp, edi
jmp 0x643060
cmp dword [esp + 0x44], 0x10
mov edx, dword [esp + 0x30]
mov eax, edx
jae 0x643071
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
lea edi, [eax + ecx]
cmp edi, ebx
je 0x6430a0
cmp dword [esp + 0x44], 0x10
mov eax, edx
jae 0x643089
lea eax, [esp + 0x30]
cmp eax, edi
ja 0x6430a0
cmp dword [esp + 0x44], 0x10
mov eax, edx
jae 0x64309a
lea eax, [esp + 0x30]
add eax, ecx
cmp edi, eax
jbe 0x6430a5
call fcn.0071ffb6
cmp esi, 0xfffffffc
je 0x6430bb
cmp esi, ebx
je 0x6430b6
lea edx, [esp + 0x2c]
cmp esi, edx
je 0x6430bb
call fcn.0071ffb6
cmp ebp, edi
je 0x643146
cmp esi, 0xfffffffc
je 0x6430f6
cmp esi, ebx
jne 0x6430d1
call fcn.0071ffb6
cmp dword [esi + 0x18], 0x10
jb 0x6430e5
mov eax, dword [esi + 4]
jmp 0x6430e8
lea edi, [esp + 0x30]
jmp 0x643027
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebp, ecx
jb 0x6430f6
call fcn.0071ffb6
cmp byte [ebp], 0xa
jne 0x643116
push ebp
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
call fcn.00642df0
mov esi, dword [eax]
mov ebp, dword [eax + 4]
jmp 0x643060
cmp esi, 0xfffffffc
je 0x643140
cmp esi, ebx
jne 0x643124
call fcn.0071ffb6
cmp dword [esi + 0x18], 0x10
jb 0x64312f
mov eax, dword [esi + 4]
jmp 0x643132
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebp, ecx
jb 0x643140
call fcn.0071ffb6
inc ebp
jmp 0x643060
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov edx, dword [esp + 0x40]
cmp edx, eax
ja 0x64317d
cmp dword [esp + 0x44], 0x10
mov ecx, dword [esp + 0x30]
jae 0x643163
lea ecx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
push edx
call fcn.00732d40
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esi], eax
cmp dword [esp + 0x44], 0x10
jb 0x643191
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00704960
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x44
ret