Function at 0x40a2c0
Capabilities:
Encode data using base64
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x431855
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push ebx
push ebp
push esi
mov esi, 0xff
xor eax, eax
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], 0x3e
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], 0x3f
mov dword [esp + 0xdc], 0x34
mov dword [esp + 0xe0], 0x35
mov dword [esp + 0xe4], 0x36
mov dword [esp + 0xe8], 0x37
mov dword [esp + 0xec], 0x38
mov dword [esp + 0xf0], 0x39
mov dword [esp + 0xf4], 0x3a
mov dword [esp + 0xf8], 0x3b
mov dword [esp + 0xfc], 0x3c
mov dword [esp + 0x100], 0x3d
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], 2
mov dword [esp + 0x12c], 3
mov dword [esp + 0x130], 4
mov dword [esp + 0x134], 5
mov dword [esp + 0x138], 6
mov dword [esp + 0x13c], 7
mov dword [esp + 0x140], 8
mov dword [esp + 0x144], 9
mov dword [esp + 0x148], 0xa
mov dword [esp + 0x14c], 0xb
mov dword [esp + 0x150], 0xc
mov dword [esp + 0x154], 0xd
mov dword [esp + 0x158], 0xe
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x160], 0x10
mov dword [esp + 0x164], 0x11
mov dword [esp + 0x168], 0x12
mov dword [esp + 0x16c], 0x13
mov dword [esp + 0x170], 0x14
mov dword [esp + 0x174], 0x15
mov dword [esp + 0x178], 0x16
mov dword [esp + 0x17c], 0x17
mov dword [esp + 0x180], 0x18
mov dword [esp + 0x184], 0x19
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], esi
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], esi
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], 0x1a
mov dword [esp + 0x1a4], 0x1b
mov dword [esp + 0x1a8], 0x1c
mov dword [esp + 0x1ac], 0x1d
mov dword [esp + 0x1b0], 0x1e
mov dword [esp + 0x1b4], 0x1f
mov dword [esp + 0x1b8], 0x20
mov dword [esp + 0x1bc], 0x21
mov dword [esp + 0x1c0], 0x22
mov dword [esp + 0x1c4], 0x23
mov dword [esp + 0x1c8], 0x24
mov dword [esp + 0x1cc], 0x25
mov dword [esp + 0x1d0], 0x26
mov dword [esp + 0x1d4], 0x27
mov dword [esp + 0x1d8], 0x28
mov dword [esp + 0x1dc], 0x29
mov dword [esp + 0x1e0], 0x2a
mov dword [esp + 0x1e4], 0x2b
mov dword [esp + 0x1e8], 0x2c
mov dword [esp + 0x1ec], 0x2d
mov dword [esp + 0x1f0], 0x2e
mov dword [esp + 0x1f4], 0x2f
mov dword [esp + 0x1f8], 0x30
mov dword [esp + 0x1fc], 0x31
mov dword [esp + 0x200], 0x32
mov dword [esp + 0x204], 0x33
mov dword [esp + 0x208], esi
mov dword [esp + 0x20c], esi
mov dword [esp + 0x210], esi
mov dword [esp + 0x214], esi
mov dword [esp + 0x218], esi
mov dword [esp + 0x21c], esi
mov dword [esp + 0x220], esi
mov dword [esp + 0x224], esi
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], esi
mov dword [esp + 0x230], esi
mov dword [esp + 0x234], esi
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], esi
mov dword [esp + 0x240], esi
mov dword [esp + 0x244], esi
mov dword [esp + 0x248], esi
mov dword [esp + 0x24c], esi
mov dword [esp + 0x250], esi
mov dword [esp + 0x254], esi
mov dword [esp + 0x258], esi
mov dword [esp + 0x25c], esi
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], esi
mov dword [esp + 0x268], esi
mov dword [esp + 0x26c], esi
mov dword [esp + 0x270], esi
mov dword [esp + 0x274], esi
mov dword [esp + 0x278], esi
mov dword [esp + 0x27c], esi
mov dword [esp + 0x280], esi
mov dword [esp + 0x284], esi
mov dword [esp + 0x288], esi
mov dword [esp + 0x28c], esi
mov dword [esp + 0x290], esi
mov dword [esp + 0x294], esi
mov dword [esp + 0x298], esi
mov dword [esp + 0x29c], esi
mov dword [esp + 0x2a0], esi
mov dword [esp + 0x2a4], esi
mov dword [esp + 0x2a8], esi
mov dword [esp + 0x2ac], esi
mov dword [esp + 0x2b0], esi
mov dword [esp + 0x2b4], esi
mov dword [esp + 0x2b8], esi
mov dword [esp + 0x2bc], esi
mov dword [esp + 0x2c0], esi
mov dword [esp + 0x2c4], esi
mov dword [esp + 0x2c8], esi
mov dword [esp + 0x2cc], esi
mov dword [esp + 0x2d0], esi
mov dword [esp + 0x2d4], esi
mov dword [esp + 0x2d8], esi
mov dword [esp + 0x2dc], esi
mov dword [esp + 0x2e0], esi
mov dword [esp + 0x2e4], esi
mov dword [esp + 0x2e8], esi
mov dword [esp + 0x2ec], esi
mov dword [esp + 0x2f0], esi
mov dword [esp + 0x2f4], esi
mov dword [esp + 0x2f8], esi
mov dword [esp + 0x2fc], esi
mov dword [esp + 0x300], esi
mov dword [esp + 0x304], esi
mov dword [esp + 0x308], esi
mov dword [esp + 0x30c], esi
mov dword [esp + 0x310], esi
mov dword [esp + 0x314], esi
mov dword [esp + 0x318], esi
mov dword [esp + 0x31c], esi
mov dword [esp + 0x320], esi
mov dword [esp + 0x324], esi
mov dword [esp + 0x328], esi
mov dword [esp + 0x32c], esi
mov dword [esp + 0x330], esi
mov dword [esp + 0x334], esi
mov dword [esp + 0x338], esi
mov dword [esp + 0x33c], esi
mov dword [esp + 0x340], esi
mov dword [esp + 0x344], esi
mov dword [esp + 0x348], esi
mov dword [esp + 0x34c], esi
mov dword [esp + 0x350], esi
mov dword [esp + 0x354], esi
mov dword [esp + 0x358], esi
mov dword [esp + 0x35c], esi
mov dword [esp + 0x360], esi
mov dword [esp + 0x364], esi
mov dword [esp + 0x368], esi
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
mov dword [esp + 0x374], esi
mov dword [esp + 0x378], esi
mov dword [esp + 0x37c], esi
mov dword [esp + 0x380], esi
mov dword [esp + 0x384], esi
mov dword [esp + 0x388], esi
mov dword [esp + 0x38c], esi
mov dword [esp + 0x390], esi
mov dword [esp + 0x394], esi
mov dword [esp + 0x398], esi
mov dword [esp + 0x39c], esi
mov dword [esp + 0x3a0], esi
mov dword [esp + 0x3a4], esi
mov dword [esp + 0x3a8], esi
mov dword [esp + 0x3ac], esi
mov dword [esp + 0x3b0], esi
mov dword [esp + 0x3b4], esi
mov dword [esp + 0x3b8], esi
mov dword [esp + 0x3bc], esi
mov dword [esp + 0x3c0], esi
mov dword [esp + 0x3c4], esi
mov dword [esp + 0x3c8], esi
mov ebx, dword [esp + 0x430]
or ecx, 0xffffffff
mov edi, ebx
mov dword [esp + 0x3cc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3d0], esi
mov eax, ecx
mov dword [esp + 0x3d4], esi
cdq
and edx, 3
mov dword [esp + 0x3d8], esi
add eax, edx
mov dl, byte [ecx + ebx - 1]
sar eax, 2
cmp dl, 0x3d
mov dword [esp + 0x3dc], esi
lea eax, [eax + eax*2]
mov dword [esp + 0x3e0], esi
mov dword [esp + 0x3e4], esi
mov dword [esp + 0x3e8], esi
mov dword [esp + 0x3ec], esi
mov dword [esp + 0x3f0], esi
mov dword [esp + 0x3f4], esi
mov dword [esp + 0x3f8], esi
mov dword [esp + 0x3fc], esi
mov dword [esp + 0x400], esi
mov dword [esp + 0x404], esi
mov dword [esp + 0x408], esi
mov dword [esp + 0x40c], esi
mov dword [esp + 0x410], esi
mov dword [esp + 0x414], esi
mov dword [esp + 0x418], esi
mov dword [esp + 0x10], eax
jne 0x40aacc
dec eax
mov dword [esp + 0x10], eax
cmp byte [ecx + ebx - 2], 0x3d
jne 0x40aad8
dec eax
mov dword [esp + 0x10], eax
lea edi, [eax + 3]
push edi
call fcn.004286fa
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x55555556
mov edi, ebx
imul dword [esp + 0x10]
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x40ab4b
mov ecx, dword [esp + 0x14]
mov ebx, edx
xor edx, edx
movsx eax, byte [edi]
inc edi
mov eax, dword [esp + eax*4 + 0x1c]
cmp eax, esi
jne 0x40ab27
dec edx
jmp 0x40ab2c
shl ecx, 6
or ecx, eax
inc edx
cmp edx, 4
jl 0x40ab18
mov byte [ebp + 2], cl
add ebp, 3
shr ecx, 8
mov byte [ebp - 2], cl
shr ecx, 8
mov byte [ebp - 3], cl
xor ecx, ecx
dec ebx
jne 0x40ab16
jmp 0x40ab4f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, 3
cdq
idiv ebx
dec edx
je 0x40aba4
dec edx
jne 0x40abcc
movsx edx, byte [edi]
inc edi
mov eax, dword [esp + edx*4 + 0x1c]
cmp eax, esi
je 0x40ab72
shl ecx, 6
or ecx, eax
movsx eax, byte [edi]
inc edi
mov eax, dword [esp + eax*4 + 0x1c]
cmp eax, esi
je 0x40ab83
shl ecx, 6
or ecx, eax
movsx edx, byte [edi]
mov eax, dword [esp + edx*4 + 0x1c]
cmp eax, esi
je 0x40ab93
shl ecx, 6
or ecx, eax
shr ecx, 2
mov byte [ebp + 1], cl
shr ecx, 8
mov byte [ebp], cl
add ebp, 2
jmp 0x40abcc
movsx eax, byte [edi]
inc edi
mov eax, dword [esp + eax*4 + 0x1c]
cmp eax, esi
je 0x40abb5
shl ecx, 6
or ecx, eax
movsx edx, byte [edi]
mov eax, dword [esp + edx*4 + 0x1c]
cmp eax, esi
je 0x40abc5
shl ecx, 6
or ecx, eax
shr ecx, 4
mov byte [ebp], cl
inc ebp
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
sub ebp, ebx
push ebp
call fcn.004289e3
mov edi, 1
push ebp
mov dword [esp + 0x428], edi
call fcn.00428723
mov esi, dword [esp + 0x430]
add esp, 4
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0042872e
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 0
call fcn.004289b9
mov ecx, dword [esp + 0x41c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x418
ret