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

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

Function at 0x41cc70
Capabilities:
Set registry value

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

Function at 0x41ccf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQ2009
push closesocket
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cd96
mov eax, dword [edi]
test eax, eax
jns 0x41cd2c
push 0x80070057
call fcn.00407180
mov ecx, dword [esi]
mov edx, 1
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
or edx, ecx
jge 0x41cd46
mov ecx, esi
call fcn.00408aa0
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0
push str.Install
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
je 0x41cd9c
test eax, eax
je 0x41cd7a
push ecx
push eax
call fcn.0043e303
add esp, 8
test eax, eax
js 0x41cd22
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41cd22
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x41cdb2
push ecx
push eax
call fcn.0043e303
add esp, 8
test eax, eax
js 0x41cd22
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41cd22
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41d650
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x465100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49cc20], 0
jne 0x41d6bf
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41d692
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b634
mov esp, ebp
pop ebp
ret
push str.upload_data.qq.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41d6b9
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
push 0x49cc20
call fcn.0043f860
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, dword [0x49cc20]
xor ecx, ebp
call fcn.0043b634
mov esp, ebp
pop ebp
ret

Function at 0x41da00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x465100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x2b0]
push eax
push 0x202
mov esi, ecx
mov edi, edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41da49
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41da5c
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b634
mov esp, ebp
pop ebp
ret
mov ecx, 2
mov word [ebp - 0x120], cx
call fcn.0041d650
test eax, eax
je 0x41da7b
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
jmp 0x41da80
push str.121.14.102.16
push 0x45b1ac
push 0x40
push 0x49cc28
call fcn.0043d2ff
add esp, 0x10
push 0x49cc28
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x1bb
mov dword [ebp - 0x11c], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [ebp - 0x120]
push edx
push ebx
mov word [ebp - 0x11e], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x41da43
test esi, esi
jle 0x41dae7
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 0x41dad4
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.0043f7e0
add esp, 0xc
push 0
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
lea edx, [ebp - 0x110]
push str.RESULT:
push edx
call fcn.0043e660
add esp, 8
test eax, eax
je 0x41db52
add eax, 7
cmp byte [eax], 0x20
jne 0x41db46
lea esp, [esp]
inc eax
cmp byte [eax], 0x20
je 0x41db40
xor ecx, ecx
cmp byte [eax], 0x31
sete cl
mov esi, ecx
jmp 0x41db54
xor esi, esi
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b634
mov esp, ebp
pop ebp
ret
Function at 0x41e020
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x465100]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x66c]
push eax
add edi, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x670], eax
cmp eax, 0xffffffff
je 0x41e116
cmp dword [ebp - 0x650], 0
jne 0x41e072
cmp dword [ebp - 0x64c], 0x500000
jbe 0x41e10f
xor ecx, ecx
mov word [ebp - 0x41c], cx
mov ecx, edi
lea eax, [ebp - 0x41c]
call fcn.0041dfa0
xor edx, edx
mov ecx, edi
lea eax, [ebp - 0x214]
mov word [ebp - 0x214], dx
call fcn.0041dfa0
mov ecx, 0x45b328
lea eax, [ebp - 0x41c]
call fcn.0041dfa0
mov ecx, 0x45b330
lea eax, [ebp - 0x214]
call fcn.0041dfa0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea eax, [ebp - 0x214]
push eax
call ebx
test eax, eax
jne 0x41e0e6
cmp esi, 2
jge 0x41e0e0
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x41e0c6
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x41c]
push edx
call esi
lea eax, [ebp - 0x41c]
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 - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b634
mov esp, ebp
pop ebp
ret 4
Function at 0x41e460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
push 0x2c
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x30
call fcn.0043f7e0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], str.TXLOGGER_BYCORETEAM
mov dword [esp + 0xc], 0x41e390
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x41e4c9
xor eax, eax
mov esp, ebp
pop ebp
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
push 0
push edx
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.loger_command_window
push eax
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]
mov esp, ebp
pop ebp
ret
Function at 0x41e520
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451e36
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x465100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x240], edi
mov dword [esi + 0x244], edi
mov dword [esi + 0x248], edi
mov dword [esi + 0x22c], edi
mov dword [esi + 0x230], edi
mov dword [esi + 0x234], 4
mov dword [esi + 0x238], 0x3e8
mov dword [esi + 0x23c], 0x10101
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov bl, 2
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.004086e0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.0041dd50
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e5e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
mov ecx, 1
sar eax, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
cmp eax, ecx
jbe 0x41e6a8
mov edx, dword [ebp - 0x24]
mov ebx, dword [edx + ecx*4]
cmp ebx, edi
je 0x41e698
cmp word [ebx], 0x2f
jne 0x41e63e
movzx eax, word [ebx + 2]
push eax
call fcn.0043e2c7
add esp, 4
test eax, eax
je 0x41e63e
cmp word [ebx + 4], di
jne 0x41e63e
movzx ecx, word [ebx + 2]
sub ecx, 0x30
mov dword [esi + 0x234], ecx
jmp 0x41e698
push 0xa
push str._loglevel:
push ebx
call fcn.0043e93d
add esp, 0xc
test eax, eax
jne 0x41e666
add ebx, 0x14
push ebx
call fcn.0043c138
add esp, 4
mov dword [esi + 0x234], eax
jmp 0x41e698
push 8
push str._logbuf:
push ebx
call fcn.0043e93d
add esp, 0xc
test eax, eax
jne 0x41e698
add ebx, 0x10
push ebx
call fcn.0043c138
add esp, 4
mov dword [esi + 0x238], eax
cmp eax, 1
ja 0x41e698
mov byte [esi + 0x23d], 0
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x14]
jb 0x41e604
call fcn.0041e460
test eax, eax
jne 0x41e6b7
mov byte [esi + 0x23c], al
mov ebx, esi
call fcn.0041e130
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x41e6ff
mov ebx, edi
cmp edi, dword [ebp - 0x20]
je 0x41e6f6
mov eax, dword [ebx]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e6ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 4
cmp ebx, dword [ebp - 0x20]
jne 0x41e6d0
push edi
call fcn.0043bc47
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f560
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450d92
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x465100]
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
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x424], edi
mov eax, dword [0x4660e4]
mov edx, dword [eax + 0xc]
mov ebx, ecx
mov ecx, 0x4660e4
mov dword [ebp - 0x428], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
push edi
push edi
push 3
push edi
push 3
push edi
mov dword [ebp - 4], edi
push str..PhysicalDrive0
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f678
xor eax, eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x410]
push edi
push eax
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], edi
call fcn.0043f7e0
add esp, 0xc
push edi
lea ecx, [ebp - 0x420]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41f671
mov edi, dword [ebp - 0x400]
movsx ecx, byte [ebp + edi - 0x410]
lea edi, [ebp + edi - 0x410]
push ecx
call fcn.0043ce09
add esp, 4
test eax, eax
je 0x41f671
mov edx, edi
call fcn.004200c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.0043b634
mov esp, ebp
pop ebp
ret
Function at 0x41fd60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452790
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x465100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
cmp edi, esi
jne 0x41fd97
xor al, al
jmp 0x41ff21
lea ecx, [ebp - 0x74]
call fcn.0041f560
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], esi
call fcn.0041f6a0
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [0x4660e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4660e4
call edx
add eax, 0x10
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.0041fc30
add esp, 4
push 0x5c
lea ecx, [ebp - 0x70]
push esi
push ecx
mov byte [ebp - 4], 3
call fcn.0043f7e0
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x18], esi
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
cmp dword [eax - 4], ebx
jle 0x41fe2a
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.0040bd40
mov eax, dword [ebp - 0x74]
push esi
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041bdd0
mov eax, dword [ebp - 0x78]
mov esi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x41fe50
push esi
lea eax, [ebp - 0x78]
push eax
call fcn.0040bd40
mov eax, dword [ebp - 0x78]
push esi
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041bdd0
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x41fe76
push esi
lea eax, [ebp - 0x7c]
push eax
call fcn.0040bd40
mov eax, dword [ebp - 0x7c]
push esi
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0041bdd0
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
push edi
call fcn.0041c120
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41feb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fed6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ff1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b634
mov esp, ebp
pop ebp
ret
Function at 0x4212c0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x465100]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
xor eax, eax
push edi
mov edi, ecx
cmp esi, 0xffffffff
je 0x421379
push 0x44
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0043f7e0
mov eax, dword [edi]
or dword [ebp - 0x50], 0x101
add esp, 0xc
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0
xor ecx, ecx
push 1
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x44], esi
push 0
mov ecx, 7
mov esi, str.ipconfig__all
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
mov dword [ebp - 0x7c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x421365
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043b634
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x30]
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b634
mov esp, ebp
pop ebp
ret 4
Function at 0x421390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451d26
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x465100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x4660e4]
mov dword [ebp - 0x420], eax
mov eax, dword [edx + 0xc]
mov esi, ecx
mov ecx, 0x4660e4
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x418], ebx
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x421408
cmp eax, 0xffffffff
je 0x421408
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42154d
mov dword [esi], 0xffffffff
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4214e2
mov ebx, dword [ebp - 0x41c]
test ebx, ebx
je 0x4214e2
mov edx, dword [0x4660e4]
mov eax, dword [edx]
push 1
push ebx
mov ecx, 0x4660e4
call eax
test eax, eax
je 0x421574
lea esi, [eax + 0x10]
mov dword [ebp - 0x424], esi
test ebx, ebx
js 0x421579
cmp ebx, dword [esi - 8]
jg 0x421579
push ebx
lea ecx, [ebp - 0x414]
push ecx
push ebx
mov dword [esi - 0xc], ebx
push esi
mov byte [ebx + esi], 0
call fcn.0043c591
add esp, 0x10
mov byte [ebp - 4], 1
mov eax, dword [esi - 0xc]
push esi
lea ebx, [ebp - 0x418]
call fcn.0041dba0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4214bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42142e
mov esi, dword [ebp - 0x420]
push esi
lea ecx, [ebp - 0x418]
call fcn.00421590
mov ecx, esi
call fcn.00422070
mov ecx, esi
call fcn.004227a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42152b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043b634
mov esp, ebp
pop ebp
ret 4
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421570
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421530
call fcn.0040bdf0
push 0x80070057
call fcn.00407180
int3
Function at 0x423af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452e71
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x465100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.CDownload.0
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
push ebx
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00401690
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x40], vtable.fund::lock::critical_section.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 3
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x74], ebx
lea edi, [esi + 0x78]
push 8
mov dword [edi], ebx
call fcn.0043bcf4
add esp, 4
cmp eax, ebx
je 0x423c9c
mov dword [edi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [edi]
mov dword [edx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea eax, [esi + 0x94]
push eax
mov dword [esi + 0x90], vtable.fund::lock::critical_section.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 5
push 0x18
mov dword [esi + 0xb4], ebx
call fcn.0043bcf4
add esp, 4
cmp eax, ebx
je 0x423c78
mov dword [esi + 0xb0], eax
mov dword [eax], eax
mov eax, dword [esi + 0xb0]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xb0]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0xb0]
mov al, 1
mov byte [ecx + 0x14], al
mov edx, dword [esi + 0xb0]
mov byte [edx + 0x15], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xbc], ebx
mov byte [esi + 0xc4], bl
cmp dword [eax + 0x14], 8
jb 0x423c2f
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push eax
push str.CDownload::CDownload__._nuiCustomID___d_nstrFilePath___s
push 3
call fcn.004236c0
add esp, 0x10
cmp dword [esi + 8], ebx
jne 0x423c5d
push 0x45fd78
lea ecx, [ebp + 0x14]
push ecx
mov dword [ebp + 0x14], str.CDownload:_DownloadNotify_invalid_pointer_
call fcn.0043fca2
call fcn.00423e80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
call fcn.0043b6dc
push 0x45fcb8
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call fcn.0043fca2
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
call fcn.0043b6dc
push 0x45fcb8
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call fcn.0043fca2
int3