Function at 0x40270e
Capabilities:
Encode data using base64

Disassembly:
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x490700]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
mov eax, dword [ebp + 0x1e8]
and dword [ebp - 0x60], 0
and dword [ebp - 0x5c], 0
push ebx
push esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004016a2
mov esi, dword [ebp + 0x1f0]
mov ebx, pe_nt_image_headers32
pop ecx
mov dword [ebp - 0x60], eax
xor ecx, ecx
mov eax, ecx
mov byte [ebp + ecx + 0xdc], cl
cdq
idiv dword [ebp + 0x1f4]
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, ebx
jl 0x402757
xor esi, esi
xor edi, edi
mov dl, byte [ebp + esi + 0xdc]
movzx eax, byte [ebp + esi - 0x24]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x40279a
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi + 0xdc]
mov byte [ebp + esi + 0xdc], al
inc esi
mov byte [ebp + edi + 0xdc], dl
cmp esi, ebx
jl 0x402777
xor edx, edx
xor ebx, ebx
and dword [ebp - 0x68], edx
cmp dword [ebp + 0x1ec], edx
jle 0x4029a7
inc ebx
and ebx, 0x800000ff
jns 0x4027d8
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebp + ebx + 0xdc]
movzx esi, cl
add edx, esi
mov dword [ebp - 0x74], ebx
and edx, 0x800000ff
jns 0x4027f7
dec edx
or edx, 0xffffff00
inc edx
mov al, byte [ebp + edx + 0xdc]
mov byte [ebp + ebx + 0xdc], al
mov byte [ebp + edx + 0xdc], cl
lea ecx, [ebp - 0x58]
push str.AAA_n
mov dword [ebp - 0x78], edx
call fcn.00401ecb
lea eax, [ebp - 0x58]
push eax
push 0x491ad8
call fcn.004013dc
movzx eax, byte [ebp + ebx + 0xdc]
add eax, esi
movzx eax, al
mov dword [ebp - 0x6c], eax
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
push str.Zero
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call fcn.00401ecb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x60]
call fcn.004017e0
lea ecx, [ebp - 0x3c]
call fcn.004030cc
imul esi
movsx edi, dx
add dx, si
and dx, cx
rol esi, 0x38
add esi, 0x26a
dec ecx
inc eax
ror esi, 0xa8
or di, ax
inc si
rol cx, 0xe2
inc ebx
dec si
rol edx, 0x63
add ecx, 0x103
and cx, 0x127
mul di
mul di
shr eax, 0xf1
add eax, eax
add ebx, 0x2bd
je 0x4028d2
cmp edx, 0x3d
jae 0x402914
imul dx
mul ecx
xor bx, 0xce
rol si, 0xc7
shr di, 0xe1
xor esi, 0x1b4
rol bx, 0x8a
jmp 0x4028e8
rcr eax, 0x62
imul edx
imul di
shr ax, 0xdd
mov edx, 0x1e9
inc dx
imul dx
inc eax
rol edi, 0xd1
shr ax, 0x46
mov cx, bx
dec di
add ax, 0x78
mul cx
jb 0x402914
test esi, 0x43
jb 0x402945
rcl dx, 0xb5
add ebx, 0x3f
add eax, 0x1b7
jmp 0x402931
mul cx
ror eax, 0x1f
shr cx, 0xd6
inc bx
inc cx
dec edi
mul eax
imul si
xor bx, 0x1f2
shr ax, 0xb1
shl bx, 0x17
jb 0x402945
rol esi, 0x73
mul dx
inc dx
ror dx, 0x50
jmp 0x40295e
ror ebx, 0x71
rcl edi, 0x49
shl bx, 0x6e
xor bx, di
mul ebx
imul esi
xor edi, ebx
dec esi
or dx, 0x92
movzx ebx, cx
inc edx
inc eax
rcr eax, 0x29
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp eax, 0xa
jl 0x402841
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x68]
mov al, byte [ebp + eax + 0xdc]
xor byte [ebx + ecx], al
lea ecx, [ebp - 0x58]
call fcn.004030cc
mov edx, dword [ebp - 0x78]
inc ebx
cmp ebx, dword [ebp + 0x1ec]
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x74]
jl 0x4027c7
lea eax, [ebp - 0x60]
push eax
mov ecx, eax
call fcn.0040192b
mov ecx, dword [ebp + 0x1dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407209
add ebp, 0x1e0
leave
ret