joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push 1
push 0
mov esi, ecx
push str.SOFTWARETencentBackupDownloader
push connect
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42107b
mov dword [esi], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push 0
push str.times
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4210c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
push 0x20006
push 0
push str.SOFTWARETencentBackupDownloader
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421106
lea eax, [ebp - 4]
push eax
push str.SOFTWARETencentBackupDownloader
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x421106
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.times
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x421140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x20019
push 0
push str.SoftwareTencentQQ2009
push connect
mov ebx, edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4211e8
mov edx, dword [ebx]
test edx, edx
js 0x42122e
push edi
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x42119a
push edx
mov ecx, esi
call fcn.00409700
mov edi, dword [esi]
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.Install
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esi]
pop edi
test eax, eax
je 0x4211f0
test ecx, ecx
je 0x4211cd
push dword [ecx - 8]
push ecx
call fcn.004461e9
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42122e
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x42122e
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x4211f8
xor eax, eax
jmp 0x421208
push dword [ecx - 8]
push ecx
call fcn.004461e9
add esp, 8
test eax, eax
js 0x42122e
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x42122e
mov dword [ecx - 0xc], eax
xor edx, edx
mov ecx, dword [esi]
mov word [ecx + eax*2], dx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00407690
int3
Function at 0x422250
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x444
mov eax, dword [0x471080]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
mov esi, edx
push eax
push 0x202
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42242d
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x422427
mov eax, 2
mov word [esp + 0x10], ax
mov eax, dword [0x4a81c4]
test eax, eax
jne 0x422306
lea eax, [esp + 0x1b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4222ff
push str.upload_data.qq.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4222f0
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
push 0x4a81c4
call fcn.0043fbc0
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [0x4a81c4]
test eax, eax
jne 0x422306
mov eax, str.121.14.102.16
jmp 0x42230d
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x467248
push 0x40
push 0x4a8180
call fcn.00414530
add esp, 0x10
push 0x4a8180
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x1bb
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x422427
test esi, esi
jle 0x422373
nop dword [eax]
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
sub esi, eax
add edi, eax
test esi, esi
jg 0x422360
push 0x104
lea eax, [esp + 0x344]
push 0
push eax
call fcn.0043fa60
add esp, 0xc
lea eax, [esp + 0x340]
push 0
push 0x104
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [esp + 0x340]
push str.RESULT:
push eax
call fcn.0043f6b0
add esp, 8
test eax, eax
je 0x422401
mov cl, byte [eax + 7]
add eax, 7
cmp cl, 0x20
jne 0x4223cf
mov cl, byte [eax + 1]
lea eax, [eax + 1]
cmp cl, 0x20
je 0x4223c4
xor eax, eax
cmp cl, 0x31
push ebx
sete al
mov dword [esp + 0x10], eax
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
push ebx
xor esi, esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x44c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
Function at 0x422960
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x668]
lea ebx, [ecx + 0x24]
push eax
push ebx
mov dword [ebp - 0x66c], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x670], eax
cmp eax, 0xffffffff
je 0x422ae9
cmp dword [ebp - 0x64c], 0
jne 0x4229b5
cmp dword [ebp - 0x648], 0x500000
jbe 0x422ae2
xor eax, eax
lea ecx, [ebp - 0x418]
push ebx
mov word [ebp - 0x418], ax
call fcn.004228a0
xor eax, eax
lea ecx, [ebp - 0x210]
push ebx
mov word [ebp - 0x210], ax
call fcn.004228a0
xor ecx, ecx
lea eax, [ebp - 0x418]
add esp, 8
cmp word [ebp - 0x418], cx
je 0x4229fd
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x4229f3
lea edx, [ecx + 1]
cmp edx, 0x104
jae 0x422a29
mov edi, 0x4673c8
sub edi, eax
nop
movzx esi, word [edi + eax]
test si, si
je 0x422a29
mov word [eax], si
inc edx
add eax, 2
inc ecx
cmp edx, 0x104
jb 0x422a10
cmp ecx, 0x104
jae 0x422a36
xor ecx, ecx
mov word [eax], cx
xor ecx, ecx
lea eax, [ebp - 0x210]
cmp word [ebp - 0x210], cx
je 0x422a51
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x422a47
lea edx, [ecx + 1]
cmp edx, 0x104
jae 0x422a7c
mov edi, 0x4673d0
sub edi, eax
movzx esi, word [edi + eax]
test si, si
je 0x422a7c
mov word [eax], si
inc edx
add eax, 2
inc ecx
cmp edx, 0x104
jb 0x422a63
cmp ecx, 0x104
jae 0x422a89
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
jne 0x422ab3
cmp esi, 2
jge 0x422aad
push 0x28
call edi
inc esi
cmp esi, 3
jl 0x422a97
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call esi
mov edi, dword [ebp - 0x66c]
lea eax, [ebp - 0x418]
push eax
push edi
call esi
push edi
call ebx
mov eax, dword [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
Function at 0x422f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push esi
push 0x2c
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x30
push 0
push eax
mov esi, ecx
call fcn.0043fa60
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], str.TXLOGGER_BYCORETEAM
mov dword [esp + 0x14], 0x422e90
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x422fbb
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.loger_command_window
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [esi + 0x230], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x230]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423010
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a836
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x471080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x23c], 0x10101
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 4
mov dword [edi + 0x238], 0x3e8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409310
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004225e0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4230f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ebx, 1
sub eax, dword [ebp - 0x20]
sar eax, 2
mov dword [ebp - 0x10], eax
cmp eax, ebx
jbe 0x4231af
nop word [eax + eax]
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x4231a5
cmp word [esi], 0x2f
jne 0x42314b
movzx eax, word [esi + 2]
push eax
call fcn.0044837f
add esp, 4
test eax, eax
je 0x42314b
cmp word [esi + 4], 0
jne 0x42314b
movzx eax, word [esi + 2]
sub eax, 0x30
mov dword [edi + 0x234], eax
jmp 0x4231a5
push 0xa
push str._loglevel:
push esi
call fcn.00448744
add esp, 0xc
test eax, eax
jne 0x423173
lea eax, [esi + 0x14]
push eax
call fcn.00445fe2
add esp, 4
mov dword [edi + 0x234], eax
jmp 0x4231a5
push 8
push str._logbuf:
push esi
call fcn.00448744
add esp, 0xc
test eax, eax
jne 0x4231a5
lea eax, [esi + 0x10]
push eax
call fcn.00445fe2
add esp, 4
mov dword [edi + 0x238], eax
cmp eax, 1
ja 0x4231a5
mov byte [edi + 0x23d], 0
inc ebx
cmp ebx, dword [ebp - 0x10]
jb 0x423110
mov ecx, edi
call fcn.00422f50
test eax, eax
jne 0x4231c0
mov byte [edi + 0x23c], al
mov ecx, edi
call fcn.00422b00
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x423230
mov ebx, dword [ebp - 0x1c]
cmp esi, ebx
je 0x423204
nop dword [eax]
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4231fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, ebx
jne 0x4231e0
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x423226
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423244
push ecx
push esi
call fcn.0043dbf3
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004420bc
int3
Function at 0x424320
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a982
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x42447d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0
push 3
push 0
push 3
push 0
mov dword [ebp - 4], 0
push str..PhysicalDrive0
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42445f
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x420], 0
push 0
push eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call fcn.0043fa60
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x424458
lea edi, [ebp - 0x410]
add edi, dword [ebp - 0x400]
movsx eax, byte [edi]
push eax
call fcn.004467b4
add esp, 4
test eax, eax
je 0x424458
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424446
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.00425060
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407690
int3
Function at 0x424ca0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45aac0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x424cd7
xor al, al
jmp 0x424e5d
lea ecx, [ebp - 0x7c]
call fcn.00424320
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.00424490
mov byte [ebp - 4], 1
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x424e78
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00424b20
push 0x40
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0043fa60
mov eax, dword [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x64], 0x10325476
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x18], 0
jle 0x424d78
push edi
lea ecx, [ebp - 0x7c]
call fcn.0040f1c0
mov eax, dword [ebp - 0x7c]
push edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00420110
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x424d9e
push edi
lea ecx, [ebp - 0x78]
call fcn.0040f1c0
mov eax, dword [ebp - 0x78]
push edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00420110
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x424dc4
push edi
lea ecx, [ebp - 0x74]
call fcn.0040f1c0
mov eax, dword [ebp - 0x74]
push edi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00420110
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00420460
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x74]
add esp, 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424e00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424e1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424e3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424e5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407690
int3
Function at 0x425320
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 8], 0
mov dword [esi + 0x18], 0
je 0x425345
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x425379
call ebx
push 0x4674d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
jne 0x425379
or dword [esi + 0x18], 9
or dword [esi + 0x18], 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x425397
or dword [esi + 0x18], 2
mov eax, dword [esi + 4]
test eax, eax
je 0x4253bd
push eax
jmp 0x4253b0
lea ecx, [ebp - 4]
push ecx
push 0
call eax
mov ecx, dword [esi + 4]
cmp eax, 0x6f
je 0x4253c9
or dword [esi + 0x18], 4
test ecx, ecx
je 0x4253bd
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], 0
or dword [esi + 0x18], 0x10
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ecx, ecx
je 0x4253de
push ecx
call edi
mov dword [esi + 4], 0
push dword [ebp - 4]
call fcn.0043e0c3
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [esi + 8], eax
test ecx, ecx
jne 0x42541e
call ebx
push 0x4674d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call ebx
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x42541e
or dword [esi + 0x18], 0x81
jmp 0x425498
push str.GetAdaptersInfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x425437
or dword [esi + 0x18], 0x100
jmp 0x425487
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
call eax
test eax, eax
je 0x4254b2
add eax, 0xffffffce
cmp eax, 0xb6
ja case.0x425455.51
movzx eax, byte [eax + 0x4254e4]
jmp dword [eax*4 + 0x4254d0]
or dword [esi + 0x18], 0x200
jmp 0x425487
or dword [esi + 0x18], 0x400
jmp 0x425487
or dword [esi + 0x18], 0x800
jmp 0x425487
or dword [esi + 0x18], 0x1000
jmp 0x425487
or dword [esi + 0x18], 0x2000
mov eax, dword [esi + 4]
test eax, eax
je 0x425498
push eax
call edi
mov dword [esi + 4], 0
cmp dword [esi + 8], 0
je 0x4254a5
mov dword [esi + 8], 0
or dword [esi + 0x18], 0x40
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x4254c3
push eax
call edi
mov dword [esi + 4], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ab36
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x420], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ebx
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x425ccd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x414], esi
mov dword [ebp - 4], 0
mov eax, dword [edi]
test eax, eax
je 0x425b74
cmp eax, 0xffffffff
je 0x425b74
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x425cc4
mov dword [edi], 0xffffffff
push 0
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebx]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
test eax, eax
je 0x425c57
nop dword [eax + eax]
mov esi, dword [ebp - 0x418]
test esi, esi
je 0x425c57
call fcn.00407b80
test eax, eax
je 0x425ccd
mov edx, dword [eax]
mov ecx, eax
push 1
push esi
call dword [edx]
test eax, eax
je 0x425cc8
lea edi, [eax + 0x10]
mov dword [ebp - 0x424], edi
test esi, esi
js 0x425cd7
cmp esi, dword [edi - 8]
jg 0x425cd7
lea eax, [ebp - 0x410]
mov dword [edi - 0xc], esi
push esi
push eax
mov edx, esi
mov byte [edi + esi], 0
mov ecx, edi
call fcn.0040f250
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
push dword [edi - 0xc]
push edi
call fcn.00422450
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425c30
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 0x41c]
push dword [eax]
call ebx
test eax, eax
jne 0x425ba0
mov ebx, dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push eax
mov ecx, ebx
call fcn.00425cf0
mov ecx, ebx
call fcn.00426c30
push ecx
mov ecx, ebx
call fcn.004270d0
mov esi, dword [ebp - 0x414]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425ca4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 0xc
xor edi, edi
jmp 0x425c85
call fcn.004096f0
push 0x80004005
call fcn.00407690
push 0x80070057
call fcn.00407690
int3
Function at 0x42c9c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b158
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x471080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 1
push connect
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42ca24
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x42ca27
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42ca49
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4