joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4095c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4095f9
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x4095fd
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
leave
ret 0x10

Function at 0x409604
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40963c
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x409640
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
leave
ret 0x10

Function at 0x409d65
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x410028], 0
push ebx
push esi
push edi
mov edi, 0x400
jne 0x409db0
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x42b6f0], ax
xor eax, eax
mov word [0x42b6f2], ax
mov dword [0x410028], 0x42b6f0
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cbd4
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push ebx
push esi
xor eax, eax
push 0x410018
mov word [esi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
pop edi
mov word [esi + ebx*2 - 2], ax
pop esi
pop ebx
leave
ret 0x10
Function at 0x40a12f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x68
push dword [0x425680]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x426794], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [ebp - 4], edi
mov ebx, 0xb1
jne 0x40a191
mov ecx, dword [0x42454c]
call fcn.004052db
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push ebx
push edi
call esi
push 0x40e2f8
push 0
push 0xc2
push edi
call esi
mov byte [0x426794], 1
mov edi, 0x5f5e100
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x60]
push eax
push 0
push 0x43a
push dword [ebp - 4]
mov dword [ebp - 0x60], 0x5c
call esi
xor eax, eax
inc eax
cmp byte [ebp + 8], 0
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x5c], eax
je 0x40a1e1
mov ecx, dword [ebp - 0x58]
and ecx, 0xbfffffff
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], 0xa0
mov dword [ebp - 0x5c], 0x40000001
lea ecx, [ebp - 0x60]
push ecx
push eax
push 0x444
push dword [ebp - 4]
call esi
push dword [ebp + 0xc]
push 0
push 0xc2
push dword [ebp - 4]
call esi
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
cmp byte [ebp + 8], 0
je 0x40a22b
mov eax, dword [ebp - 0x58]
and eax, 0xfffffffe
or eax, 0x40000000
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0x444
push dword [ebp - 4]
call esi
push 0x40e7c8
push 0
push 0xc2
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40aa81
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.004012c0
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x40aa9c
mov byte [ebx], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40aaa6
mov byte [eax], 0
test edi, edi
je 0x40ab4f
movzx eax, word [edi]
test ax, ax
je 0x40ab4f
push esi
xor esi, esi
xor ecx, ecx
movzx eax, ax
inc edi
inc edi
cmp ax, 0x3d
jne 0x40aadf
cmp dword [ebp + 0xc], 0
je 0x40aaeb
test esi, esi
jne 0x40aaeb
test ebx, ebx
je 0x40aadb
mov byte [ebx], 1
mov esi, edx
jmp 0x40aafa
cmp ax, 0xd
je 0x40ab0d
cmp ax, 0xa
je 0x40ab0f
mov word [edx], ax
mov eax, dword [ebp + 0x14]
inc edx
add eax, 0xfffffffe
inc edx
cmp ecx, eax
jg 0x40ab05
movzx eax, word [edi]
inc ecx
test ax, ax
jne 0x40aabf
jmp 0x40ab0f
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40ab0f
inc edi
inc edi
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov word [edx], ax
test ebx, ebx
je 0x40ab4a
mov word [ebx], ax
test esi, esi
je 0x40ab4a
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [ebp + 0x14]
lea eax, [ebp - 0x2000]
push eax
push ebx
call fcn.0040cbaa
xor eax, eax
mov word [esi], ax
mov eax, edi
pop esi
jmp 0x40ab51
xor eax, eax
pop edi
pop ebx
leave
ret 0x10
Function at 0x40ab96
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x400
lea eax, [ebp - 0x820]
push eax
call fcn.0040dcca
cmp byte [0x426795], 0
jne 0x40ac24
push 6
push dword [0x410014]
lea eax, [ebp - 0x820]
push eax
call fcn.0040751d
push eax
call fcn.0040d867
test eax, eax
jne 0x40ac24
push 0x40e848
call fcn.0040dcb7
lea eax, [ebp - 0x820]
push eax
call fcn.0040996b
xor ecx, ecx
push 0x1e
mov word [ebp + eax*2 - 0x81e], cx
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0040968d
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
leave
ret

Function at 0x40acef
Capabilities:
Delete file

Disassembly:
push ebx
xor ebx, ebx
mov byte [0x425671], 1
cmp dword [0x425680], ebx
je 0x40ad17
push 0x7d
call fcn.004093fa
push eax
push 2
push dword [0x425680]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x425680]
mov dword [0x425674], ebx
mov byte [0x425670], 1
cmp eax, ebx
je 0x40ad78
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x4267a4], ebx
jne 0x40ad46
cmp byte [0x426794], bl
je 0x40ad4e
cmp dword [0x425678], ebx
jne 0x40ad70
push ebx
push 1
push 0x111
push dword [0x425680]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40ad70
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00409d26
cmp dword [0x425680], ebx
jne 0x40ad64
cmp byte [0x425688], bl
pop ebx
je 0x40ad86
jmp fcn.0040ab96
ret

Function at 0x40adc2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x425690], bl
je 0x40ae42
cmp word [0x424550], bx
je 0x40ae42
push esi
push 0x424550
lea esi, [ebp - 0x808]
call fcn.0040ad87
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x40ae42
push dword [ebp + 8]
call fcn.0040996b
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4
Function at 0x40ae47
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004012c0
cmp byte [0x425690], 0
je 0x40aeee
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040ad87
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40aeee
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40aee5
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40aec9
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x80c], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040cbaa
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8

Function at 0x40b016
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x42566e], 0
mov eax, dword [ebp + 0xc]
mov dword [0x425560], eax
mov eax, dword [ebp + 0x10]
mov dword [0x425564], eax
mov eax, dword [ebp + 0x14]
mov dword [0x425558], eax
je 0x40b046
xor eax, eax
inc eax
jmp 0x40b06f
cmp byte [0x42566f], 0
je 0x40b054
push 2
pop eax
jmp 0x40b06f
push dword [ebp + 8]
push 0x40a2ff
push dword [0x425680]
push str.REPLACEFILEDLG
push dword [0x42555c]
call esi
dec eax
je 0x40b0c1
dec eax
je 0x40b0d3
dec eax
je 0x40b0ba
dec eax
jne 0x40b09e
push dword [ebp + 8]
push 0x40a64b
push dword [0x425680]
push str.RENAMEDLG
push dword [0x42555c]
call esi
test eax, eax
je 0x40b020
mov al, 0x52
jmp 0x40b0ce
dec eax
je 0x40b0af
dec eax
mov al, 0x4e
jne 0x40b0ce
mov byte [0x42566f], 1
jmp 0x40b0ce
mov byte [0x425672], 1
mov al, 0x43
jmp 0x40b0ce
mov byte [0x42566e], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x40b0ce
Function at 0x40c8bc
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 1
call fcn.0040cf30
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x42b708
call fcn.0040d964
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp esi, ebx
je 0x40c94c
push esi
call fcn.0040a95c
cmp byte [0x425691], bl
je 0x40c944
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40c939
push 0x20000
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x40c932
push esi
push str.sfxcmd
call edi
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c94c
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x424d58
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x42555c], edi
mov dword [0x425668], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x425668]
mov dword [0x424d54], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 8]
mov dword [0x424d50], eax
call fcn.0040dd3a
push esi
mov ecx, 0x4267c4
call fcn.004093e3
lea ecx, [ebp - 0x58]
call fcn.0040528a
lea ecx, [ebp - 0x30]
call fcn.0040528a
push 0x64
call fcn.0040a02f
push 0x64
mov dword [ebp - 0x3c], eax
call fcn.0040a02f
push ebx
push 0x40c0cf
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x58]
mov dword [0x42454c], eax
push str.STARTDLG
lea eax, [ebp - 0x30]
push edi
mov dword [0x424548], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x30]
mov dword [0x424548], ebx
mov dword [0x42454c], ebx
call fcn.004052ac
lea ecx, [ebp - 0x58]
call fcn.004052ac
lea ecx, [ebp - 8]
call fcn.0040dd94
cmp byte [0x425688], bl
je 0x40ca27
call fcn.0040ab96
push 0x100
push ebx
push 0x425568
call fcn.0040968d
cmp dword [0x4267a4], ebx
jbe 0x40ca4a
push dword [0x426798]
call fcn.0040948f
push dword [0x424d54]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x424d50]
cmp eax, ebx
je 0x40ca64
push eax
call esi
cmp dword [0x4267b8], ebx
jne 0x40ca83
cmp byte [0x425672], bl
je 0x40ca83
push 0xff
mov ecx, 0x4267b8
call fcn.004019b2
mov eax, dword [0x4267b0]
mov byte [0x425672], 1
cmp eax, ebx
je 0x40ca99
push eax
call fcn.0040ab57
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x4267ac]
cmp eax, ebx
ja 0x40caad
mov eax, dword [0x4267b8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40d2b6
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x4224ac]
mov ecx, eax
xor ecx, dword [esp + 4]
shr eax, 8
mov edx, 0xff
and ecx, edx
xor eax, dword [ecx*4 + 0x4100d0]
mov ecx, dword [0x4224b4]
mov dword [0x4224ac], eax
movzx eax, al
add eax, dword [0x4224b0]
imul eax, eax, 0x8088405
inc eax
mov dword [0x4224b0], eax
shr eax, 0x18
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x4100d0]
mov eax, dword [esp + 4]
mov dword [0x4224b4], ecx
ret 4

Function at 0x40d349
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040d310
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004096ba
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040d296
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040d2b6
inc esi
cmp esi, 0xc
jl 0x40d368
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x411b48]
test byte [eax + 0x40], 2
movzx eax, byte [0x421bc7]
jne 0x40d3a3
movzx eax, byte [0x421bcf]
movzx ecx, cx
cmp ecx, eax
je 0x40d3af
or eax, 0xffffffff
jmp 0x40d3f4
mov ecx, dword [0x421b60]
mov eax, ecx
cdq
cmp edx, dword [0x410924]
push edi
jl 0x40d3d1
mov edx, dword [0x410920]
jg 0x40d3cd
cmp eax, edx
jbe 0x40d3d1
mov edi, edx
jmp 0x40d3d3
mov edi, ecx
mov esi, dword [0x421b58]
jmp 0x40d3ed
dec edi
call fcn.0040d296
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040d2b6
inc esi
test edi, edi
jne 0x40d3db
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x40dbdf
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x40ebf0
push 1
xor ebx, ebx
push ebx
push 0x40eca0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40dcb0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x40ec90
push eax
call dword [ecx]
test eax, eax
jl 0x40dca7
cmp byte [ebp + 8], bl
je 0x40dc32
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x40dc4f
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x40dc61
push 0x40e2f8
jmp 0x40dc64
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x40dc79
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x40dc8a
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40dc9e
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c
Function at 0x40dcca
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x4014f5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x14], 0x40c06d
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym.___mingw_opendir
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40156b
jmp 0x401540
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [esp + 4], 0x40c06f
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x401540
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [esp], eax
call sym._remove
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym.___mingw_readdir
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401518
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.___mingw_closedir
nop
leave
ret

Function at 0x40180e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0x40c064
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401848
mov dword [esp], str.Gagal_membuka_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 - 0xc]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4018c6
mov dword [esp], str.Gagal_mengalokasikan_memory
call sym._perror
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._fread
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x14]
leave
ret

Function at 0x4019ba
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.python_notif.py__s__d__s
mov dword [esp + 4], 0x1f4
lea eax, [ebp - 0x1fc]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x1fc]
mov dword [esp], eax
call sym._system
mov dword [esp], 1
call sym._sleep
nop
leave
ret

Function at 0x401a13
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
lea eax, [ebp - 0x9e]
mov dword [eax], 0x68747970
mov dword [eax + 4], 0x6f206e6f
mov dword [eax + 8], 0x656e696c
mov dword [eax + 0xc], 0x79702e72
mov dword [eax + 0x10], 0x642d20
lea eax, [ebp - 0x9e]
mov dword [esp], eax
call sym._system
mov dword [esp], 1
call sym._sleep
nop
leave
ret
Function at 0x401a61
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
lea eax, [ebp - 0x9e]
mov dword [eax], 0x68747970
mov dword [eax + 4], 0x6f206e6f
mov dword [eax + 8], 0x656e696c
mov dword [eax + 0xc], 0x79702e72
mov dword [eax + 0x10], 0x74642d20
mov dword [eax + 0x14], 0x747865
lea eax, [ebp - 0x9e]
mov dword [esp], eax
call sym._system
mov dword [esp], 1
call sym._sleep
nop
leave
ret

Function at 0x401ab6
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
lea eax, [ebp - 0x9e]
mov dword [eax], 0x68747970
mov dword [eax + 4], 0x6f206e6f
mov dword [eax + 8], 0x656e696c
mov dword [eax + 0xc], 0x79702e72
mov dword [eax + 0x10], 0x62642d20
mov dword [eax + 0x14], 0x6e616861
mov byte [eax + 0x18], 0
lea eax, [ebp - 0x9e]
mov dword [esp], eax
call sym._system
mov dword [esp], 1
call sym._sleep
nop
leave
ret
Function at 0x401b0f
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._readFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401b49
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Gagal_membaca_file__s_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x401b93
mov dword [esp], str.Gagal_mengalokasikan_memori
call sym._perror
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov dword [esp], 1
call sym._exit
mov dword [ebp - 0x1c], 0x989680
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._strlen
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
add eax, ebx
add eax, 0x24
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jae 0x401bc8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x401c0a
mov dword [esp], str.Gagal_mengalokasikan_memori_untuk_command
call sym._perror
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._free
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.python__u__c___s___s__d
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.___mingw_snprintf
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._system
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._system
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x401c91
mov dword [esp], str._nGagal_menjalankan_perintah
call sym._perror
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._free
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._free
call sym._delete
call sym._deletepy
mov dword [esp], 1
call sym._sleep
nop
add esp, 0x44
pop ebx
pop ebp
ret