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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], 1
push esi
mov eax, ebx
mov dword [ebp - 0x14], ebx
mov ecx, ebx
mov dword [ebp - 0x20], ebx
mov edx, ebx
mov dword [ebp - 0x28], ebx
push edi
mov dword [ebp - 8], eax
mov esi, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x40], bx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov word [ebp - 0x7c], bx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x34], bx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x64], bx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x58], bx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x70], bx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x4c], bx
jmp 0x40c825
lea edx, [edx + 4]
inc ecx
mov eax, dword [edx]
cmp word [eax + 8], di
jne 0x40c7f0
mov dword [ebp - 0x24], ecx
or edi, 0xffffffff
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x24]
mov edx, dword [ecx]
test eax, eax
je 0x40c812
dec eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
test ax, ax
mov eax, dword [ebp - 8]
je 0x40c883
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ebx, ebx
mov edi, dword [ebp - 0x2c]
cmp edi, dword [0x4c82a0]
jg 0x40c83f
test edi, edi
jle 0x40c83f
mov ebx, edi
shl ebx, 4
add ebx, dword [0x4c82dc]
inc edi
mov dword [ebp - 0x2c], edi
or edi, 0xffffffff
test ebx, ebx
je 0x40cad3
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [0x4c7404], eax
xor eax, eax
mov ecx, dword [ebx + 4]
push 0x7f
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov edx, dword [ecx]
pop ecx
movzx eax, word [edx + 8]
cmp ax, cx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 4]
je 0x40c815
push 0x7f
mov edx, ecx
mov ecx, dword [ebp - 0x24]
pop edi
jmp 0x40c7f0
mov eax, dword [edx]
cmp eax, 0x13
jg 0x40c910
mov edx, dword [ebp - 0xc]
cmp eax, 0x12
jge 0x40cba9
sub eax, 4
cmp eax, 0xa
ja case.default.0x40c8a2
jmp dword [eax*4 + 0x40cc6c]
mov eax, dword [ebx + 4]
xor edx, edx
mov eax, dword [eax + edx]
xor edx, edx
cmp word [eax + 8], dx
je 0x40c8dc
mov eax, dword [ebp - 0x30]
inc eax
mov edx, eax
mov dword [ebp - 0x30], eax
shl edx, 2
push 0x7f
mov eax, dword [edx + ecx]
pop ecx
cmp word [eax + 8], cx
mov ecx, dword [ebx + 4]
je 0x4448a3
mov eax, ecx
jmp 0x40c8ae
cmp dword [eax], 5
jne 0x40c8b9
mov eax, dword [ebp - 0x24]
mov eax, dword [ecx + eax*4]
cmp word [eax + 8], dx
je 0x40c9bc
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
cmp word [eax + 8], dx
mov edx, dword [ebp - 0xc]
je 0x40ca95
mov eax, dword [ebp - 8]
jmp 0x40c820
cmp eax, 0x20
jg 0x40c9e2
je 0x40ca06
sub eax, 0x14
je 0x444825
dec eax
je 0x4447dc
dec eax
je 0x44478d
dec eax
je 0x444782
mov edx, dword [ebp - 0xc]
dec eax
mov eax, dword [ebp - 8]
jne 0x40c820
jmp 0x444733
inc dword [ebp - 4]
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
inc esi
call fcn.00420047
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
jmp 0x40c823
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x4448cb
mov ecx, dword [ebp - 4]
dec ecx
dec esi
cmp dword [ebp - 0x60], 0
mov dword [ebp - 4], ecx
je 0x40cc5a
lea ecx, [ebp - 0x60]
call fcn.00420080
lea ecx, [ebp - 0x60]
mov ebx, dword [eax]
call fcn.0042008e
mov ecx, dword [ebp - 4]
test ecx, ecx
js 0x4448ab
cmp esi, ebx
jne 0x4448ab
mov eax, dword [ebp - 8]
jmp 0x40c968
cmp dword [eax], 5
jne 0x40c8f1
inc dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x84]
push eax
inc esi
call fcn.00420047
xor edx, edx
jmp 0x40c8f1
sub eax, 0x21
jne 0x40cb34
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x4448cb
dec dword [ebp - 0x28]
jne 0x4448c3
jmp 0x40ca16
mov ebx, dword [ebp - 0x28]
inc ebx
mov dword [ebp - 0x28], ebx
cmp ebx, 1
jg 0x4448c3
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call fcn.004081d2
test eax, eax
jns 0x40c962
jmp 0x40caf0
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x4448cb
mov eax, dword [ebp - 0x14]
dec eax
dec esi
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0x14], eax
je 0x40cc62
lea ecx, [ebp - 0x84]
call fcn.00420080
lea ecx, [ebp - 0x84]
mov ebx, dword [eax]
call fcn.0042008e
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x40ca8d
cmp esi, ebx
je 0x40c962
push edi
push 0x75
jmp 0x4448d8
cmp dword [eax], 0x12
jl 0x444890
cmp dword [eax], 0x13
jle 0x40cba6
cmp dword [eax], 0x18
jle 0x444890
cmp dword [eax], 0x1e
mov edx, dword [ebp - 0xc]
jle case.default.0x40c8a2
cmp dword [eax], 0x21
jle 0x444890
cmp dword [eax], 0x23
jle 0x40c962
jmp 0x444890
push dword [ebp - 0x18]
xor ebx, ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ecx
push eax
push edx
push ebx
call fcn.004081d2
test eax, eax
js 0x40caf0
mov edi, ebx
lea ecx, [ebp - 0x54]
call fcn.004200c1
lea ecx, [ebp - 0x78]
call fcn.004200c1
lea ecx, [ebp - 0x60]
call fcn.004200c1
lea ecx, [ebp - 0x6c]
call fcn.004200c1
lea ecx, [ebp - 0x3c]
call fcn.004200c1
lea ecx, [ebp - 0x84]
call fcn.004200c1
lea ecx, [ebp - 0x48]
call fcn.004200c1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, 4
je 0x444885
dec eax
je 0x444840
mov ecx, dword [ebp - 4]
sub eax, 5
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
push 0
pop ebx
jne 0x40c825
jmp 0x40ca06
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x4448cb
cmp dword [ebp - 0x14], 0
jne 0x40c962
push edi
push 0x74
jmp 0x4448d8
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x4448cb
inc dword [ebp - 0xc]
lea ecx, [ebp - 0x78]
jmp 0x40c955
inc dword [ebp - 8]
lea ecx, [ebp - 0x6c]
jmp 0x40c955
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0
pop ebx
test edx, edx
jne 0x40c825
test eax, eax
jne 0x40c825
test ecx, ecx
jne 0x40c823
jmp 0x4448bb
mov edx, dword [ebp - 0xc]
dec edx
dec esi
cmp dword [ebp - 0x78], 0
mov dword [ebp - 0xc], edx
je 0x40cc50
lea ecx, [ebp - 0x78]
call fcn.00420080
lea ecx, [ebp - 0x78]
mov ebx, dword [eax]
call fcn.0042008e
mov edx, dword [ebp - 0xc]
test edx, edx
js 0x40cbfe
cmp esi, ebx
je case.default.0x40c8a2
push edi
push 0x93
jmp 0x4448d8
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x4448cb
mov eax, dword [ebp - 8]
dec eax
dec esi
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 8], eax
je 0x40cc55
lea ecx, [ebp - 0x6c]
call fcn.00420080
lea ecx, [ebp - 0x6c]
mov ebx, dword [eax]
call fcn.0042008e
mov eax, dword [ebp - 8]
test eax, eax
js 0x40cc48
cmp esi, ebx
je 0x40c965
push edi
push 0x78
jmp 0x4448d8
lea ebx, [esi + 1]
jmp 0x40cbf2
lea ebx, [esi + 1]
jmp 0x40cc3c
lea ebx, [esi + 1]
jmp 0x40c9a7
lea ebx, [esi + 1]
jmp 0x40ca81
test byte [ebx], al
jo 0x40e7aa
add byte [ebp - 0x17d3dbb4], cl
push esi
sub al, byte [eax]
add byte [ebx - 0x7bf0fe02], al
cmp byte [eax + 3], dh
add byte [ebx - 0x7bf0fd02], al
div dword [eax + 3]
add byte [ebx - 0x7af0fc02], al
xor eax, 0x8b000372
pop esp
and al, 0x38
dec esp
and al, 0x2c
add byte [eax], al
leave
test eax, 0x20000000
je 0x4447ce
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xe
add eax, ecx
mov esi, dword [eax*4 + 0x4b9870]
test esi, esi
je 0x444781
mov eax, dword [ebp - 0x70]
add eax, 2
add esi, 0xfffffffe
mov dword [ebp - 0x60], eax
jmp 0x444779
mov eax, dword [ebp - 4]
mov esi, dword [esi*4 + 0x4b9610]
push 2
mov dword [ebp - 0x60], eax
pop eax
sub esi, eax
dec ecx
mov dword [ebp - 0x20], ecx
mov eax, ecx
sub eax, 8
je 0x444799
rol dword [ebx + 0x117408e8], 0x48
dec eax
je 0x444795
dec eax
jne 0x4447ce
inc eax
push 0xd
pop eax
mov ecx, eax
jmp 0x44479c
push 0xc
jmp 0x44479b
push 0xb
pop ecx
mov esi, dword [ebp - 0x70]
xor eax, eax
test edi, edi
mov edi, dword [ebp - 0x1c]
setne al
add eax, 3
mov word [edi], ax
add edi, edx
xor eax, eax
mov word [edi], cx
add edi, edx
mov word [edi], ax
add edi, edx
mov eax, dword [ebp - 0xc]
add esi, 2
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x38], eax
jmp 0x40e7a9
imul esi, ecx, 3
push 0x20
pop eax
push eax
mov eax, dword [esi*4 + 0x4b97c0]
add eax, ebx
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00411470
mov eax, dword [esi*4 + 0x4b97c4]
add esp, 0xc
mov esi, dword [esi*4 + 0x4b97c8]
test eax, eax
js 0x444831
xor ecx, ecx
lea edx, [eax + ebx]
push 0x20
pop edi
test esi, esi
js 0x44481d
mov al, byte [edx + ecx]
or byte [ebp + ecx - 0x178], al
inc ecx
cmp ecx, edi
jb 0x44480c
jmp 0x44482e
mov al, byte [edx + ecx]
not al
and byte [ebp + ecx - 0x178], al
inc ecx
cmp ecx, edi
jb 0x44481d
mov dh, bh
invalid
mov edi, dword [ebp - 0x18]
test esi, esi
jns 0x444837
neg esi
mov ebx, dword [ebp - 0xc]
push 2
pop edx
cmp esi, ebx
jne 0x44484a
or dword [eax - 0x1765b], eax
inc ebx
and byte [ebp - 0x177], 0xc3
jmp 0x444855
cmp esi, edx
jne 0x444855
and byte [ebp - 0x16d], 0x7f
xor eax, eax
mov ecx, eax
push 0x20
pop edx
test edi, edi
je 0x444877
mov al, byte [ebp + ecx - 0x178]
not al
or byte [ebp + ecx - 0xd4], al
inc ecx
cmp ecx, edx
jb 0x444860
jmp 0x44488a
mov al, byte [ebp + ecx - 0x178]
or byte [ebp + ecx - 0xd4], al
inc ecx
cmp ecx, edx
jb 0x444877
mov esi, dword [ebp - 0x70]
push 2
pop edx
add esi, edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x58], edx
jmp 0x444779
pop es
add byte [eax], al
cmp esi, 0x1a
jne 0x4448d3
mov esi, dword [ebp - 4]
push 0x5c
pop eax
cmp word [esi + 2], ax
inc esi
add dh, byte [ebp + 0x11]
inc esi
add dh, byte [ebp + 0x11]
push 0x45
pop ecx
cmp word [esi + 4], cx
cmp dword [esi + 4], ecx
jne 0x4448c8
add esi, 4
jmp 0x40e7ac
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
jmp 0x40e7af
cmp esi, 0x19
je 0x444afb
pop ds
add al, byte [eax]
add byte [ebx + 0x458be04d], cl
test al, 0x41
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
inc ecx
mov edi, dword [ebx + 8]
add eax, 2
rol byte [edx], 0x89
dec ebp
loopne 0x444876
inc ebp
test al, 0x83
invalid
adc byte [edi], cl
invalid
outsd dx, dword [esi]
add dword [eax], eax
invalid
push 0xf
pop ebx
cmp esi, 0x12
je 0x444adc
cmp esi, 0x13
je 0x444ab4
cmp esi, 0x14
je 0x444ad5
cmp esi, 0x15
je 0x444aab
add esi, 0xffffffe3
cmp esi, 5
jbe 0x444763
push 0xffffffffffffffff
push 0x4ba350
jmp 0x444abb
push 0xffffffffffffffff
push 0x4b9f00
push ebx
push dword [ebp - 0x34]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0xd4]
call fcn.0047e86c
add esp, 0x10
jmp 0x40e7a3
push 0x4ba350
jmp 0x444ae1
push 0x4b9f00
push ebx
push dword [ebp - 0x34]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0xd4]
call fcn.0047e96e
add esp, 0xc
jmp 0x40e7a3
mov esi, dword [ebp - 4]
jmp 0x40e7ac