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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x40]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x47b2b4
call sub.kernel32.dll_GetLastError
cmp eax, 6
je 0x47b2c6
cmp eax, 0x3e5
je 0x47b25c
mov eax, edi
call fcn.0047b2d4
jmp 0x47b2c6
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x47b2a2
dec eax
je 0x47b2c6
dec eax
je 0x47b278
jmp 0x47b2ab
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x40]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x47b2b4
call sub.kernel32.dll_GetLastError
cmp eax, 6
je 0x47b2c6
mov eax, edi
call fcn.0047b2d4
jmp 0x47b2c6
mov eax, edi
call fcn.0047b2d4
jmp 0x47b2c6
mov eax, edi
call fcn.0047b2d4
jmp 0x47b2c6
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x47b226
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47bc58
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x47bd08
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x435188]
call fcn.00435234
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bceb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.004352d4
mov cl, 1
mov edx, 0x47bd1c
mov eax, dword [ebp - 4]
call fcn.00435338
test al, al
je 0x47bccd
lea edx, [ebp - 8]
mov eax, dword [0x47e45c]
mov eax, dword [eax]
call fcn.00472204
mov ecx, dword [ebp - 8]
mov edx, 0x47bd54
mov eax, dword [ebp - 4]
call fcn.0043545c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bcf2
mov eax, dword [ebp - 4]
call fcn.004352a4
mov eax, dword [ebp - 4]
call fcn.004032e4
ret
Function at 0x47bee4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bf94
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0x47bfa4
push 0
call sub.user32.dll_FindWindowA
mov edi, eax
push 0
push 0
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
jbe 0x47bf7e
push 0xc8
lea eax, [ebp - 0xd4]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
inc esi
mov eax, dword [ebp - 4]
cmp esi, dword [eax + 0x324]
jne 0x47bf6d
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.0040851c
lea eax, [ebp - 0xc]
call fcn.00404610
push eax
push 0
push 0xc
push ebx
call sub.user32.dll_SendMessageA
jmp 0x47bf7e
push 0
push 0
push ebx
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
ja 0x47bf2b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bf9b
lea eax, [ebp - 0xc]
call fcn.004040f8
ret
Function at 0x40614b
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4dcc58]
mov ecx, dword [0x4dbbac]
sub esp, 0xe84
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40624e
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0x4dcc58], 0x959
jne 0x40623c
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x405910
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x405968
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00405f58
add ebx, 8
dec dword [ebp - 8]
jne 0x406174
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40884b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b718]
jne 0x408855
repz ret
jmp fcn.004100ec

Function at 0x411e67
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409fcd
and dword [ebp - 4], 0
cmp dword [0x42d7a0], 0
mov ebx, eax
jne 0x411f18
push 0x40391c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411fc9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403910
push edi
call esi
test eax, eax
je 0x411fc9
push eax
call fcn.00409f5b
mov dword [esp], 0x403900
push edi
mov dword [0x42d7a0], eax
call esi
push eax
call fcn.00409f5b
mov dword [esp], 0x4038ec
push edi
mov dword [0x42d7a4], eax
call esi
push eax
call fcn.00409f5b
mov dword [esp], 0x4038d0
push edi
mov dword [0x42d7a8], eax
call esi
push eax
call fcn.00409f5b
pop ecx
mov dword [0x42d7b0], eax
test eax, eax
je 0x411f18
push 0x4038b8
push edi
call esi
push eax
call fcn.00409f5b
pop ecx
mov dword [0x42d7ac], eax
mov eax, dword [0x42d7ac]
cmp eax, ebx
je 0x411f70
cmp dword [0x42d7b0], ebx
je 0x411f70
push eax
call fcn.00409fd6
push dword [0x42d7b0]
mov esi, eax
call fcn.00409fd6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411f70
test edi, edi
je 0x411f70
call esi
test eax, eax
je 0x411f67
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411f67
test byte [ebp - 0xc], 1
jne 0x411f70
or dword [ebp + 0x10], 0x200000
jmp 0x411fa9
mov eax, dword [0x42d7a4]
cmp eax, ebx
je 0x411fa9
push eax
call fcn.00409fd6
pop ecx
test eax, eax
je 0x411fa9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411fa9
mov eax, dword [0x42d7a8]
cmp eax, ebx
je 0x411fa9
push eax
call fcn.00409fd6
pop ecx
test eax, eax
je 0x411fa9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d7a0]
call fcn.00409fd6
pop ecx
test eax, eax
je 0x411fc9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411fcb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x934058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009341a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x93407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93406a
add dl, dl
jne 0x934089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9340dc
xor eax, eax
add dl, dl
jne 0x934096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93417d
add dl, dl
jne 0x9340a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9340b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9340bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9340c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9340d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x934075
mov eax, 1
add dl, dl
jne 0x9340ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9340f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9340e1
sub eax, ebx
mov ebx, 1
jne 0x934128
mov ecx, 1
add dl, dl
jne 0x93410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x934119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x934105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x934075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x93413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x934136
cmp eax, 0x7d00
jae 0x93416d
cmp eax, 0x500
jb 0x934168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x934075
cmp eax, 0x7f
ja 0x934170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x934075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x93419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x934075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4480148
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x68cb3d44
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x591fe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x498015
lea edi, [esi - 0x97015]
push edi
or ebp, 0xffffffff
jmp 0x592002
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x592009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x591ff8
mov eax, 1
add ebx, ebx
jne 0x59201b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59202c
jne 0x59204b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59204b
dec eax
add ebx, ebx
jne 0x592038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x592010
add ebx, ebx
jne 0x592047
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59209d
xor ecx, ecx
sub eax, 3
jb 0x592063
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5920d2
sar eax, 1
mov ebp, eax
jmp 0x59206e
add ebx, ebx
jne 0x59206e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59203c
inc ecx
add ebx, ebx
jne 0x59207c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59203c
add ebx, ebx
jne 0x592089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59207e
jne 0x59209a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59207e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5920bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5920ae
jmp 0x591ffe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5920bc
add edi, ecx
jmp 0x591ffe
pop esi
mov edi, esi
mov ecx, 0x2c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5920da
cmp byte [edi], 0
jne 0x5920da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5920df
lea edi, [esi + 0x18f000]
mov eax, dword [edi]
or eax, eax
je 0x59214e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1921e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19226c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59210c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x192274]
or eax, eax
je 0x592148
mov dword [ebx], eax
add ebx, 4
jmp 0x592129
call dword [esi + 0x192270]
mov ebp, dword [esi + 0x192278]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x592182
sub esp, 0xffffff80
jmp 0x401d2a
Function at 0x4022fc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov dword [ebp - 0x13c], 0x128
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x13c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._Process32First_8
sub esp, 8
jmp 0x4023da
mov dword [esp + 4], str.AndroidProcess.exe
lea eax, [ebp - 0x13c]
add eax, 0x24
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x4023da
mov eax, dword [ebp - 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x410
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [esp + 8], 0x28
lea eax, [ebp - 0x164]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._GetProcessMemoryInfo_12
sub esp, 0xc
test eax, eax
setne al
test al, al
je 0x4023ca
mov eax, dword [ebp - 0x158]
cmp eax, 0x14dc9380
jbe 0x4023ca
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xc], eax
jmp 0x4023ff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x13c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._Process32Next_8
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x402346
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x402414
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov dword [ebp - 0x13c], 0x128
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x13c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._Process32First_8
sub esp, 8
jmp 0x4024f2
mov dword [esp + 4], str.aow_exe.exe
lea eax, [ebp - 0x13c]
add eax, 0x24
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x4024f2
mov eax, dword [ebp - 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x410
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [esp + 8], 0x28
lea eax, [ebp - 0x164]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._GetProcessMemoryInfo_12
sub esp, 0xc
test eax, eax
setne al
test al, al
je 0x4024e2
mov eax, dword [ebp - 0x158]
cmp eax, 0x23c34600
jbe 0x4024e2
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xc], eax
jmp 0x402517
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x13c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._Process32Next_8
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x40245e
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4038e8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x54], sym.___gxx_personality_sj0
mov dword [ebp - 0x50], 0x48a878
lea eax, [ebp - 0x4c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x403a2e
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
lea eax, [ebp - 0x25]
mov ecx, eax
call fcn.0044f250
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x25]
mov dword [esp + 4], edx
mov dword [esp], 0x4943d2
mov dword [ebp - 0x68], 1
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x1d]
mov ecx, eax
call fcn.0044f250
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1d]
mov dword [esp + 4], edx
mov dword [esp], str.https:__www.googleapis.com_drive_v3_files_19E8eT6Xtkjrx1_MAxz5_9FxNSoEs3ww__altmediakeyAIzaSyD_QWLVRGx58NvbEhXEH5kknnFYpH20wmw
mov dword [ebp - 0x68], 2
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x24]
mov dword [esp], eax
mov dword [ebp - 0x68], 3
call sym.downloadFile_std::string__std::string_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x1d]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0045b510
lea eax, [ebp - 0x25]
mov ecx, eax
call sym.std::allocator_char_::allocator__
cmp dword [ebp - 0x1c], 0
js 0x4039de
mov dword [esp], 0x4943d2
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x68], 0xffffffff
call eax
sub esp, 4
mov eax, 0
jmp 0x4039ef
mov dword [ebp - 0x68], 0xffffffff
call sym.start_key_system__
mov eax, 1
mov dword [ebp - 0x70], eax
jmp 0x403a6d
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x403a83
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov ecx, eax
call method.std::string.c_str___const
mov ebx, eax
mov ecx, dword [ebp + 8]
call method.std::string.c_str___const
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._URLDownloadToFileA_20
sub esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x403ad0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x48a882
lea eax, [ebp - 0x3c]
lea ebx, [ebp - 0x18]
mov dword [eax], ebx
mov edx, 0x403c45
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov dword [esp], 0x494003
mov dword [ebp - 0x58], 0xffffffff
call sym._system
mov dword [esp + 4], str.Enter_Key_n
mov dword [esp], 0x493140
mov dword [ebp - 0x58], 0xffffffff
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x20]
mov ecx, eax
call sym.std::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0x492f00
mov dword [ebp - 0x58], 1
call method.std::basic_istream_char__std::char_traits_char____std::operator___char__std::char_traits_char___std.allocator_char____std::basic_istream_char__std::char_traits_char_____std::basic_string_char__std::char_traits_char___std::allocator_char____
mov dword [esp + 4], str.Checking_Key......_n
mov dword [esp], 0x493140
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov dword [esp], edx
mov ecx, eax
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::string_const_
sub esp, 4
lea eax, [ebp - 0x1c]
mov dword [esp], eax
mov dword [ebp - 0x58], 2
call sym.key_checker_std::string_
test eax, eax
setne byte [ebp - 0x60]
lea eax, [ebp - 0x1c]
mov ecx, eax
call fcn.0045b510
cmp byte [ebp - 0x60], 0
je 0x403bdb
mov dword [esp + 4], str.login_Successfull_n
mov dword [esp], 0x493140
mov dword [ebp - 0x58], 1
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], 0x1f4
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [ebp - 0x60], 1
jmp 0x403c1b
mov dword [esp + 4], str.Key_not_exits_or_already_used_n
mov dword [esp], 0x493140
mov dword [ebp - 0x58], 1
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], 0x44c
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], 0x494003
call sym._system
mov dword [ebp - 0x60], 0
nop
lea eax, [ebp - 0x20]
mov ecx, eax
call fcn.0045b510
cmp dword [ebp - 0x60], 1
je 0x403c7d
jmp 0x403b18
nop
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret