Function at 0x41afac
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11cc
call fcn.00441f50
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x20], 1
xor edx, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x30], edx
mov esi, edx
mov dword [ebp - 4], esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
test eax, eax
je 0x41b4c6
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
test ecx, ecx
je 0x457f3c
mov dword [ecx], edx
mov dword [ebp - 0xd8], 0x4b0bb0
mov dword [ebp - 0xd4], 0x4b0cb0
mov dword [ebp - 0xd0], 0x4b0db0
mov dword [ebp - 0xcc], 0x4b0ef0
test ebx, 0xd8008580
jne 0x457f48
mov eax, ebx
mov dword [ebp - 0x74], edx
push 0x28
pop ebx
and eax, 0x10000
cmp word [edi], bx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
je 0x457f4f
test ebx, 0x800
je 0x45823f
mov dword [ebp - 4], 1
test eax, eax
jne 0x45821c
ror byte [edi], 0x85
mov ch, 0xd1
add eax, dword [eax]
test ebx, 0x2000
je 0x458223
mov ecx, 0x1800000
mov eax, ebx
and eax, ecx
cmp eax, ecx
je 0x45826e
mov eax, ebx
push 2
pop ecx
and eax, 0x700000
add bl, byte [ecx + 0x25]
add byte [eax], al
jo 0x41b08e
jne 0x458247
mov dword [ebp - 0x54], ecx
xor edx, edx
lea eax, [ebp - 0x11c8]
mov dword [ebp - 0x8c], edx
mov ecx, edx
mov dword [ebp - 0xc4], eax
test dword [edi + edi*8], edi
invalid
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0xb0], eax
mov eax, edi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x9c], 0x800
mov dword [ebp - 0xa0], 0x14
mov dword [ebp - 0xc0], edi
cmp word [edi], dx
je 0x41b122
lea eax, [eax + 2]
inc ecx
cmp word [eax], dx
jne 0x41b119
lea eax, [edi + ecx*2]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0xbc], eax
mov ecx, ebx
lea eax, [edi + esi*2]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x11c8]
mov dword [ebp - 0x1c], eax
mov eax, 0x83
mov word [ebp - 0x11c8], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x7c], edx
push eax
push edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x90], edx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xb4], edx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x78], ebx
push eax
lea eax, [ebp - 0x3c]
push eax
push edx
push edx
push edx
push edx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
call fcn.0041b4ca
mov esi, dword [ebp - 0x30]
add esp, 0x34
test esi, esi
jne 0x458271
cmp dword [ebp - 0x20], 0x10000
jg 0x4582d2
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x20]
lea esi, [eax*2 + 0x38]
push esi
call fcn.004091b2
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4582d6
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebx], 0x50435245
mov eax, dword [ebp - 0x78]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
push 0x1c
pop eax
mov word [ebx + 0x22], ax
mov ax, word [ebp - 0xa4]
mov word [ebx + 0x24], ax
mov ax, word [ebp - 0xa8]
mov word [ebx + 0x26], ax
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], esi
movzx eax, word [ebx + 0x22]
lea edx, [ebx + eax*2]
mov dword [ebp - 0xac], edx
movzx eax, word [ebx + 0x26]
movzx ecx, word [ebx + 0x24]
imul ecx, eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
lea edi, [edx + ecx*2]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xb4], esi
test eax, eax
jg 0x4582da
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, 0x83
push esi
mov word [edi], ax
lea eax, [ebp - 0xd8]
push eax
push esi
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], edi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041b4ca
mov ax, word [ebp - 0x98]
add esp, 0x34
mov word [ebx + 0x1e], ax
mov ax, word [ebp - 0x8c]
mov word [ebx + 0x20], ax
mov ax, word [ebp - 0x90]
mov word [ebx + 0x1c], ax
mov eax, dword [ebp - 0x74]
or eax, 2
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x6c], 0
jne 0x45832b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x30]
xor edx, edx
test esi, esi
jne 0x41b333
mov eax, dword [ebp - 0x18]
cmp word [eax], dx
jne 0x45833b
add byte [ebx - 0x36cc1bbb], cl
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x1c], eax
sub eax, edi
sar eax, 1
cmp eax, dword [ebp - 0x20]
jg 0x458343
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc8]
cmp eax, ecx
ja 0x45834b
cmp dword [ebp - 0x9c], 0x800
jg 0x4583dc
xor eax, eax
mov dword [ebp - 0xc8], eax
test esi, esi
jne 0x4583ef
cmp bh, bh
invalid
mov ax, word [ebx + 0x20]
cmp ax, word [ebx + 0x1e]
ja 0x4583e8
test dword [ebp - 0xc], 0x20000
mov esi, dword [ebp - 4]
jne 0x41b3ad
lea eax, [ebp - 0xd8]
mov edx, esi
push eax
mov ecx, edi
call fcn.0041c960
pop ecx
cmp dword [ebp - 0x64], 0
jne 0x4583fb
mov ecx, dword [ebx + 8]
mov eax, ecx
test cl, 0x10
jne 0x41b423
xor eax, eax
xor edx, edx
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.0041c831
pop ecx
pop ecx
test eax, eax
jne 0x4584a8
mov eax, dword [ebp - 8]
test eax, eax
jns 0x41b462
xor eax, eax
lea edx, [ebp - 8]
push eax
mov ecx, edi
call fcn.0041aecc
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
test eax, eax
jns 0x41b465
mov esi, dword [ebx + 8]
xor eax, eax
push eax
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp + 0xc], esi
push eax
xor edx, edx
mov ecx, edi
call fcn.0041ade1
add esp, 0xc
test eax, eax
jne 0x4584b6
mov eax, esi
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jns 0x41b47a
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov edx, esi
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
push dword [ebp - 4]
dec dword [ebx + 0x75ff50cf]
cld
call fcn.0041c633
add esp, 0xc
test eax, eax
jne 0x458590
movzx eax, word [edi + 2]
lea edi, [edi + eax*2]
cmp word [edi], 0x77
je 0x41b42d
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 0x3c]
mov word [ebx + 0x18], dx
test al, 1
jne 0x4584c4
or dword [ebx + 0xc], 0x10
mov eax, dword [ebx + 8]
jmp 0x41b423
test al, 0x10
jne 0x458528
mov edx, dword [ebp - 0x2c]
mov word [ebx + 0x1a], dx
test cl, 1
je 0x41b4b8
cmp dword [ebp - 4], 0
je 0x45855f
mov esi, 0x80
movzx ecx, dx
cmp dx, si
jae 0x458536
mov eax, dword [ebp - 0xd4]
movzx eax, byte [ecx + eax]
cmp ax, dx
jne 0x41b4c1
or dword [ebx + 0xc], 0x40
jmp 0x41b42a
or dword [ebx + 0xc], esi
jmp 0x41b4b8
xor eax, eax
jmp 0x41b45d
or byte [ebx], dh
test byte [ecx - 0x76abdbac], 0x4c
and al, 0x1c
ret 0xc6e9
invalid
int3
push 0x4a
pop esi
jmp 0x458292
mov edi, dword [ebp - 0x10]
jmp 0x458223
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, dword [ebp + 0x10]
jmp 0x41b060
aaa
add al, 0
mov dword [ebp - 0x30], eax
pop ecx
test eax, eax
je 0x41b087
ror byte [edi], 0x84
cmp dword [esi], ebp
cld
invalid
jmp 0x457f54
je 0x4582af
cmp eax, 0xff400000
je 0x4582a3
add byte [eax], al
inc eax
push dword [esp + ebp + 0x3d]
add byte [eax], al
push eax
add byte [edi], cl
test byte [esi], ah
cld
jmp [edx + 0x38]
cmp eax, 0x500000
je 0x41b0a8
push 0x38
pop esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
sar eax, 1
mov dword [ecx], eax
mov ecx, esi
call fcn.0049aa9c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x41b4da
mov dword [ebp - 0x54], 1
jmp 0x41b0ab
push 0xd
pop eax
push 0xa
mov word [ebp - 0x4c], ax
xor edx, edx
pop eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x4a], ax
jmp 0x41b0ad
mov dword [ebp - 0x50], 0xff0c01
pop eax
or al, 0xff
add byte [eax - 0x77], bl
push ebp
lodsb al, byte [esi]
mov dword [ebp - 0x54], edx
mov word [ebp - 0x4c], ax
jmp 0x41b0ad
das
cld
invalid
outsd dx, dword [esi]
das
cld
dec dword [ebx - 0x2bba763a]
or eax, 0xffffffff
mov dword [ebp - 0x24], eax
jmp 0x41b332
aam 0x83
enter 0xffffffffffff89ff, 0x45
fsub st(1), st(0)
jecxz 0x45837c
cld
jmp [edx + 0x16]
cmp eax, ecx
jbe 0x41b376
sub eax, 2
mov dword [ebp - 0xb8], eax
movzx eax, word [eax]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4583e6
invalid
cmp word [edi + eax*2 - 2], 0x75
jne 0x4583e6
movzx edx, word [edi + eax*2]
mov dword [ebp - 0x38], edx
cmp edx, dword [ebp - 0x14]
je 0x4583bf
push edx
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.0049a3ae
mov edx, eax
mov eax, dword [ebp - 0x38]
pop ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], edx
jmp 0x4583c2
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4583de
mov ecx, edx
sub ecx, edi
sar ecx, 1
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc8]
jmp 0x45836e
push 0x35
pop esi
jmp 0x41b376
push 0xa
pop eax
mov esi, eax
jmp 0x41b376
call dword [ecx - 0x18]
invalid
jmp [edx + 0xf]
push ebx
call fcn.004091cf
pop ecx
jmp 0x458285
setne al
dec eax
and eax, 0x2d
add eax, 0x19
mov dword [ebp - 0x38], eax
mov esi, eax
jmp 0x458403
invalid
or cl, ch
insd dword es:[edi], dx
das
cld
inc dword [ecx + 0x1000c4b]
add byte [eax], al
mov eax, esi
jmp 0x41b437
add al, 1
cmp ax, dx
je 0x41b485
or dword [ebx + 0xc], 0x20
jmp 0x41b485
and cl, ch
dec ecx
das
cld
push esi
rol dword [edx], 0xf
test cl, bh
cld
invalid
mov bh, 4
inc ebp
inc eax
sbb al, 0x4b
add byte [ebx - 0xc0b3ac4], al
dec edx
or al, 0xff
jmp fcn.0041b4ca
ret 0x840f