joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f09b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x568e30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0044fa40
movzx eax, al
test eax, eax
je 0x44f9c3
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401300
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
call fcn.00446b60
add esp, 0x20
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
call fcn.00402980
push eax
call fcn.0044fdc0
add esp, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00402a30
cmp dword [ebp - 0x70], 0
je 0x44f9c1
mov al, 1
jmp 0x44fa2c
jmp 0x44fa2a
push 0x44
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401850
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44fa2a
push 0xdbba0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x44fa2c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4501c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4501f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4502e9
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x490
mov dword [ebp - 0x248], 0
push 0x228
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x45027c
push str.explorer.exe
lea eax, [ebp - 0x224]
push eax
call fcn.004bad26
add esp, 8
test eax, eax
jne 0x450266
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
jmp 0x45027a
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45023c
jmp 0x450285
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4502b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4502e9
mov eax, dword [ebp + 8]
push eax
push 0xf01ff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x4502dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret

Function at 0x450420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x450441
or eax, 0xffffffff
jmp 0x4504dd
mov dword [ebp - 0x120], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x450496
cmp dword [ebp - 0x11c], 5
jne 0x450496
cmp dword [ebp - 0x118], 0
jne 0x450496
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x4504d1
mov eax, dword [ebp + 8]
push eax
call fcn.00450300
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4504c7
mov ecx, dword [ebp + 8]
push ecx
call fcn.004501c0
add esp, 4
jmp 0x4504dd
mov eax, dword [ebp - 0x124]
jmp 0x4504dd
mov edx, dword [ebp + 8]
push edx
call fcn.004501c0
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x4504f0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x45055b
jmp 0x4505ee
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x450582
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x450582
jmp 0x4505ee
mov ecx, dword [ebp - 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4505b1
jmp 0x4505ee
mov dword [ebp - 0x20], 0
jmp 0x4505c3
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx]
jae 0x4505ee
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4505ec
mov byte [ebp - 0x19], 1
jmp 0x4505ee
jmp 0x4505ba
cmp dword [ebp - 0x18], 0
je 0x4505fe
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], 0
je 0x45060e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x4506e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x450776
mov dword [ebp - 0x130], 0
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x12c]
push edx
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x450769
cmp dword [ebp - 0x12c], 6
jne 0x450769
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4507e1
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
xor eax, eax
jmp 0x4507e1
mov dword [ebp - 4], 0x490
mov dword [ebp - 0x134], 0
jmp 0x450798
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 8]
jae 0x4507d5
mov ecx, dword [ebp - 0x134]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx + 8], 0
jne 0x4507d3
mov eax, dword [ebp - 0x134]
imul eax, eax, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax]
mov dword [ecx], eax
mov dword [ebp - 4], 0
jmp 0x4507d5
jmp 0x450789
mov ecx, dword [ebp - 0xc]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret

Function at 0x4512d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004b8df0
add esp, 0xc
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451348
mov eax, 1
jmp 0x451363
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x451e80
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], vtable.CExtractOutFile.0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0xffffffff
je 0x451ec0
mov edx, dword [ebp - 0xc]
add edx, 0x14
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
je 0x451f03
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x451f03
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x451f03
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
je 0x451f2b
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ba1cb
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x451f53
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004ba1cb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 0
mov esp, ebp
pop ebp
ret

Function at 0x4520d0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xffffffff
je 0x452115
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x45211a
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4526e0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x30], eax
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004b8df0
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x45273b
xor eax, eax
jmp 0x452820
push 0x51a4a4
push 0x51a4b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x452764
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x45276e
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x140], 2
jne 0x45281d
cmp dword [ebp - 0x14c], 4
jbe 0x45281d
cmp dword [ebp - 0x14c], 6
jne 0x4527ce
cmp dword [ebp - 0x148], 0
jne 0x4527aa
mov dword [ebp - 4], 4
jmp 0x4527cc
cmp dword [ebp - 0x148], 1
jne 0x4527bc
mov dword [ebp - 4], 5
jmp 0x4527cc
cmp dword [ebp - 0x148], 2
jne 0x4527cc
mov dword [ebp - 4], 6
jmp 0x45281d
cmp dword [ebp - 0x14c], 5
jne 0x4527e9
cmp dword [ebp - 0x148], 2
jne 0x4527e9
mov dword [ebp - 4], 3
jmp 0x45281d
cmp dword [ebp - 0x14c], 5
jne 0x452804
cmp dword [ebp - 0x148], 1
jne 0x452804
mov dword [ebp - 4], 2
jmp 0x45281d
cmp dword [ebp - 0x14c], 5
jne 0x45281d
cmp dword [ebp - 0x148], 0
jne 0x45281d
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x454630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f714
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4547ab
mov ecx, dword [ebp + 8]
add ecx, 0xf0
call fcn.004011a0
cmp eax, 4
jbe 0x4547ab
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b8df0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4547ab
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4547a1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.0050cde0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xf0
call fcn.00401850
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.0050ccf0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.00402980
push eax
lea ecx, [ebp - 0x284]
call fcn.00402980
push eax
call fcn.004bc4a0
add esp, 8
test eax, eax
je 0x454768
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402a30
jmp 0x4547a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00402a30
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4546db
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x4547d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f752
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45494b
mov ecx, dword [ebp + 8]
add ecx, 0x10c
call fcn.004011a0
cmp eax, 4
jbe 0x45494b
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b8df0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45494b
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x454941
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.0050cde0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x10c
call fcn.00401850
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.0050ccf0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x284]
call fcn.00402980
push eax
lea ecx, [ebp - 0x268]
call fcn.00402980
push eax
call fcn.004bc4a0
add esp, 8
test eax, eax
je 0x454908
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00402a30
jmp 0x454941
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00402a30
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45487b
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x4549a0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f785
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x4549e6
xor eax, eax
jmp 0x454afe
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.004011a0
test eax, eax
jne 0x454a01
mov ecx, dword [ebp + 8]
call fcn.004011a0
test eax, eax
jne 0x454a08
xor eax, eax
jmp 0x454afe
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004b8df0
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004011a0
test eax, eax
je 0x454a5b
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00401850
mov dword [ebp - 0x248], eax
jmp 0x454a70
mov ecx, dword [ebp + 8]
call fcn.00401850
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x240]
call fcn.0040d8d0
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x38
call fcn.0040b180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00401340
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x455190
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x244]
call fcn.004556b0
mov dword [eax], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret 4
Function at 0x456800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fabc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 0x56d7c8
lea ecx, [ebp - 0x48]
call fcn.004029f0
mov dword [ebp - 4], 0
push 0
push 0x51a9d4
lea ecx, [ebp - 0x48]
call fcn.00401230
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x4568f5
lea ecx, [ebp - 0x48]
call fcn.004011a0
cmp dword [ebp - 0x68], eax
jae 0x4568f5
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00402980
push eax
lea edx, [ebp - 0xa0]
push edx
call fcn.0050cc10
add esp, 8
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x1a4
call fcn.0040b180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00401340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00402a30
jmp 0x45690b
push 0x51a9d8
mov ecx, dword [ebp - 0xa4]
add ecx, 0x1a4
call fcn.0040b040
lea edx, [ebp - 0x64]
push edx
call fcn.0050d580
add esp, 4
mov byte [ebp - 4], 3
push 0
push str.show0
lea ecx, [ebp - 0x64]
call fcn.00401230
cmp eax, 0xffffffff
je 0x45694f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402a30
jmp 0x4569e4
lea eax, [ebp - 0x2c]
push eax
call fcn.0050d250
add esp, 4
mov byte [ebp - 4], 4
push 0x51a9e4
lea ecx, [ebp - 0x2c]
call fcn.00407660
test eax, eax
jg 0x456999
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402a30
jmp 0x4569e4
push 0
push 0
push 0
push 0x454090
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0xa4]
call fcn.004556b0
mov dword [eax], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00402a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret

Function at 0x45b090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004b8df0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403290
mov eax, dword [ebp - 0x118]
or eax, 1
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x45b120
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ffc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x568e30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
push 0
push 0x80
push 3
lea eax, [ebp - 0x20]
push eax
push 1
push connect
lea ecx, [ebp + 8]
call fcn.00402980
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x45b246
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
add ecx, 1
push ecx
call fcn.004809a6
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45b213
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402a30
mov eax, dword [ebp - 0x2c]
jmp 0x45b25f
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402a30
mov eax, dword [ebp - 0x30]
jmp 0x45b25f
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402a30
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret