joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eee9
Capabilities:
Check if file exists
Create thread

Disassembly:
mov eax, 0x52390c
call fcn.004f70e4
sub esp, 0x134
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x562835
mov dword [ebp - 4], ebx
call fcn.004f6dfd
push 0x108
lea eax, [ebp - 0x13c]
push ebx
push eax
call fcn.004fa2f0
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [eax]
push ebx
push ebx
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x140]
push eax
push 0x40f7f1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00402435
inc ebx
mov byte [ebp - 4], bl
call fcn.004074c1
cmp eax, 0x40
mov edx, str.http:__dw.gptchrome.net_bropkg_GInstallerx86_162.exe
mov ecx, str.http:__dw.gptchrome.net_bropkg_GInstallerx64_162.exe
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403456
cmp dword [ebp - 0x1c], 0
je 0x40efe3
xor esi, esi
push 0
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
mov dword [ebp - 0x10], ecx
push eax
call fcn.0040406a
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004042d0
mov byte [ebp - 4], bl
call fcn.0040b005
add esp, 0x24
test al, al
jne 0x40efca
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x40ef7d
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40efe5
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.00402a3c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405e10
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40f9df
Capabilities:
Get common file path

Disassembly:
mov eax, 0x522b57
call fcn.004f70e4
sub esp, 0x804
push edi
xor edi, edi
mov ecx, 0x562835
mov dword [ebp - 0x10], edi
call fcn.004f6dfd
mov ecx, dword [ebp + 8]
call fcn.00404155
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
call fcn.004fa2f0
add esp, 0xc
lea eax, [ebp - 0x810]
push edi
push 0x17
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop edi
test eax, eax
je 0x40fa58
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x810]
push eax
call fcn.004061b6
mov ecx, dword [ebp + 8]
push 0x529994
call fcn.00404a8e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x4173e2
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x524202
call fcn.004f70e4
sub esp, 0x21c
push ebx
xor ebx, ebx
inc ebx
push edi
mov dword [ebp - 0x18], ebx
and dword [ebp - 4], 0
mov ecx, 0x562b3e
call fcn.004f6dfd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
mov edi, reloc.WS2_32.dll_accept
test eax, eax
lea ecx, [edi + 1]
cmovne edi, ecx
mov ecx, dword [ebp + 8]
call fcn.00404155
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], ebx
call fcn.004041e9
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00404a69
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
push dword [ebp - 0x10]
push edi
call ebx
test eax, eax
je 0x417493
lea eax, [ebp - 0x14]
mov ecx, reloc.WS2_32.dll_accept
push eax
push 0x20119
push 0
push dword [ebp - 0x10]
mov edi, ecx
push ecx
call ebx
test eax, eax
je 0x417493
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405e10
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
jmp 0x417501
push 0x208
lea eax, [ebp - 0x228]
mov dword [ebp - 0x20], 1
push 0
push eax
mov dword [ebp - 0x1c], 0x104
call fcn.004fa2f0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4174e9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call fcn.004061b6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x417519
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x562b3e
call fcn.004f6dfd
push str.https:__www.gptchrome.net_privacy.html
lea ecx, [ebp - 4]
call fcn.004041e9
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405e10
leave
ret

Function at 0x417556
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x562b3e
call fcn.004f6dfd
push str.https:__www.gptchrome.net_userspe_
lea ecx, [ebp - 4]
call fcn.004041e9
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405e10
leave
ret

Function at 0x417593
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x562b3e
call fcn.004f6dfd
push str.https:__www.gptchrome.net_license_
lea ecx, [ebp - 4]
call fcn.004041e9
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405e10
leave
ret
Function at 0x417c94
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5242b4
call fcn.004f70e4
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov ecx, 0x562b3e
push edi
call fcn.004f6dfd
lea edi, [esi + 0x77c]
mov ecx, edi
call fcn.00405691
test al, al
jne 0x417d28
lea ebx, [esi + 0x780]
push edi
mov ecx, ebx
call fcn.004046ee
push ecx
mov ecx, esp
push ebx
mov dword [ebp - 0x18], ecx
call fcn.0040406a
lea eax, [ebp - 0x30]
push eax
call fcn.00406494
pop ecx
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0
call fcn.00408ecb
movzx eax, byte [eax]
push eax
call fcn.0040746e
pop ecx
mov ecx, dword [esi + 0x7b0]
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], edx
test ecx, ecx
je 0x417d1b
mov eax, dword [ecx]
push dword [ebx]
call dword [eax + 0x2c]
lea ecx, [ebp - 0x30]
call fcn.00402a3c
jmp 0x417e51
push ecx
mov ecx, esp
mov edi, str.GptChrome
push edi
call fcn.004041e9
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004173e2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x417db8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417db8
lea eax, [ebp - 0x14]
lea edi, [esi + 0x780]
push eax
mov ecx, edi
call fcn.00404652
mov ecx, dword [esi + 0x79c]
mov eax, dword [esi + 0x798]
test ecx, ecx
jl 0x417d86
jg 0x417d92
cmp eax, 0x128c5680
ja 0x417d92
mov eax, dword [esi + 0x790]
mov ecx, dword [esi + 0x794]
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], ecx
mov ecx, dword [esi + 0x7b0]
test ecx, ecx
je 0x417e46
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0x2c]
jmp 0x417e46
lea eax, [ebp - 0x10]
push eax
call fcn.004075bd
pop ecx
cmp dword [esi + 0x79c], 0
mov byte [ebp - 4], 2
jl 0x417df8
jg 0x417ddd
cmp dword [esi + 0x798], 0x128c5680
jbe 0x417df8
push str.D:Program_Files_
lea ecx, [ebp - 0x10]
call fcn.004061b6
mov eax, dword [esi + 0x798]
mov ecx, dword [esi + 0x79c]
jmp 0x417e04
mov eax, dword [esi + 0x790]
mov ecx, dword [esi + 0x794]
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], ecx
lea ecx, [ebp - 0x10]
push edi
call fcn.00404a8e
lea eax, [ebp - 0x10]
lea edi, [esi + 0x780]
push eax
mov ecx, edi
call fcn.00404652
mov ecx, dword [esi + 0x7b0]
test ecx, ecx
je 0x417e3b
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405e10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41832d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov ecx, 0x562e52
call fcn.004f6dfd
push 0x52b14c
push 0x81
call fcn.004675a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4183a3
push esi
call fcn.004675a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41839c
push esi
call fcn.004675a0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x41839c
push 0
push eax
push edi
call fcn.0046f920
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.0041829b
mov ecx, eax
call fcn.0047b6a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
ret
Function at 0x418402
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, 0x562e52
call fcn.004f6dfd
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
call fcn.004041e9
lea ecx, [ebp - 0x24]
call fcn.00416af2
call fcn.004183a6
test al, al
jne 0x418616
push ebx
push esi
push edi
call fcn.004074c1
push dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
call fcn.004041e9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040d062
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405e10
push str.GCMainWnd
lea ecx, [ebp - 4]
call fcn.004041e9
xor ebx, ebx
cmp byte [ebp - 0x23], bl
jne 0x418530
cmp byte [ebp - 0x1d], bl
jne 0x4184fb
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push str.Global_
push eax
call fcn.00404891
add esp, 0xc
push dword [eax]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4184b9
test esi, esi
jne 0x418530
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x418608
cmp byte [ebp - 0x22], bl
jne 0x418608
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xf020
mov ebx, 0x112
push ebx
push edi
call esi
push 0
push 0xf120
push ebx
push edi
call esi
jmp 0x418608
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push str.Global_
push eax
call fcn.00404891
add esp, 0xc
push dword [eax]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405e10
cmp byte [ebp - 0x24], bl
jne 0x418544
cmp byte [ebp - 0x1d], bl
jne 0x418544
lea eax, [ebp - 0x24]
push eax
call fcn.0040d291
pop ecx
cmp byte [ebp - 0x23], bl
jne 0x418565
cmp byte [ebp - 0x22], bl
jne 0x418565
cmp byte [ebp - 0x1d], bl
jne 0x418565
lea eax, [ebp - 0x24]
push eax
call fcn.0040dc84
pop ecx
test al, al
je 0x418608
push dword [ebp + 8]
call fcn.0046f4f0
pop ecx
call fcn.0041832d
lea ecx, [ebp - 0x14]
call fcn.00463a20
push 2
lea ecx, [ebp - 0x14]
call fcn.00463f10
push 0x7e0
call fcn.004f6e52
pop ecx
test eax, eax
je 0x4185a3
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.0041693b
mov esi, eax
jmp 0x4185a5
mov esi, ebx
mov ecx, esi
cmp byte [ebp - 0x22], bl
jne 0x418603
push ebx
push ebx
push ebx
push ebx
push 0xfffffc18
push ebx
push 0x96ca0000
push dword [ebp - 4]
push ebx
call fcn.004706f0
push 0x6b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
mov ecx, esi
call fcn.00462c00
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004704f0
push 5
mov ecx, esi
call fcn.00462c00
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0046c360
jmp 0x418608
call fcn.00417338
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405e10
pop edi
pop esi
pop ebx
lea ecx, [ebp - 0x18]
call fcn.00404556
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00405e10
xor eax, eax
leave
ret 0x10
Function at 0x420610
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x420646
mov al, byte [esi]
push eax
call fcn.0042e3b0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x420628
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42a470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x6d3], 0
je 0x42a508
cmp dword [esi + 0x1a4], 0
je 0x42a4c5
push esi
call fcn.0041bd50
push 1
push esi
mov byte [ebp + 8], al
call fcn.0041bfb0
push dword [esi + 0x154]
mov eax, dword [esi + 0x1a4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
push dword [ebp + 8]
push esi
call fcn.0041bfb0
add esp, 0x28
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, 0
je 0x42a4d9
sub eax, 1
je 0x42a4d9
sub eax, 1
jne 0x42a508
push dword [esi + 0x150]
lea eax, [ecx*2 + 0x52de18]
push 1
add eax, ecx
push 2
push eax
call fcn.005024ab
push dword [esi + 0x150]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.005024ab
add esp, 0x20
pop esi
pop ebp
ret
Function at 0x42c520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.0042c550
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.005115e0

Function at 0x42c7a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42c7c0
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x52e188
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x52e198
push esi
mov dword [ebp - 8], ebx
call fcn.0050b2e4
add esp, 8
test eax, eax
je 0x42c80c
test ebx, ebx
je 0x42c7fc
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x42c835
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c835
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x42c8f8
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c851
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x55e018]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42c8ee
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42c8ee
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c890
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c8b0
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x42c8c5
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c8e5
push 8
push 0
push ebx
call eax
jmp 0x42c8ec
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x55e01c]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42c910
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x55e3f0]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x42c969
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42c956
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x42c950
shr eax, 8
cmp al, 2
je 0x42c969
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7a16
mov esp, ebp
pop ebp
ret
push str.iphlpapi.dll
call fcn.0042c7a0
add esp, 4
mov dword [0x56079c], eax
test eax, eax
je 0x42c994
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c994
mov dword [0x560798], eax
push 3
push 2
push 0
push 0
push 6
call fcn.00459ea0
add esp, 0x14
test al, al
setne byte [0x561e4c]
push 0x561e50
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004f7a16
mov esp, ebp
pop ebp
ret

Function at 0x42f1e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42f20b
cmp dword [esi + 0x84], 0
je 0x42f20b
push 2
push 3
push esi
call fcn.0042e970
push dword [ebp + 0xc]
call fcn.0042ec60
add esp, 0x10
jmp 0x42f21a
push dword [ebp + 0xc]
call fcn.0042ec60
add esp, 4
test esi, esi
je 0x42f22e
cmp dword [esi + 0x84], 0
je 0x42f22e
push 3
push esi
call fcn.0042e9b0
add esp, 8
pop esi
pop ebp
ret

Function at 0x42f310
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42f351
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x100], 0
jne 0x42f341
push 0
call fcn.0042f310
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x100], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x100], 2
sete al
pop ebp
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x42f367
xor al, al
pop esi
pop ebp
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
pop ebp
ret
Function at 0x439dd0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x439deb
cmp dword [edi], 0
jne 0x439dfd
test esi, esi
je 0x439df4
cmp dword [esi], 0
jne 0x439dfd
test ebx, ebx
je 0x439e46
cmp dword [ebx], 0
je 0x439e46
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x18]
push eax
call fcn.0045ef70
add esp, 0xc
test ebx, ebx
je 0x439e18
cmp dword [ebx], 0
jne 0x439e1a
xor ebx, ebx
test esi, esi
je 0x439e23
cmp dword [esi], 0
jne 0x439e25
xor esi, esi
test edi, edi
je 0x439e2e
cmp dword [edi], 0
jne 0x439e30
xor edi, edi
push eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00439d80
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43cca0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00421000
push dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x10], xmm0
call fcn.0043b610
push dword [ebp + 0xc]
mov edi, eax
call fcn.0043b610
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x43cd27
lea eax, [ebp - 0x20]
push eax
call fcn.00421000
movups xmm0, xmmword [ebp - 0x10]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.004210b0
add esp, 0x20
test edx, edx
ja 0x43cd4a
jb 0x43cd15
cmp eax, 0x3e8
ja 0x43cd4a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x43cce0
test edi, edi
je 0x43cd34
push edi
call fcn.004fe560
add esp, 4
test esi, esi
je 0x43cd41
push esi
call fcn.004fe560
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x43cd57
push edi
call fcn.004fe560
add esp, 4
test esi, esi
je 0x43cd64
push esi
call fcn.004fe560
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d160
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [eax], ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43d2dd
push esi
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x43d2c9
push edi
nop dword [eax]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43d1be
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d1b0
sub eax, edx
lea ecx, [eax + 1]
jmp 0x43d1c0
xor ecx, ecx
mov eax, dword [esi + 4]
mov dword [ebp - 8], ecx
cmp eax, 2
jne 0x43d1d2
mov eax, 0x10
jmp 0x43d1e0
cmp eax, 0x17
jne 0x43d285
mov eax, 0x1c
cmp dword [esi + 0x18], 0
mov dword [ebp - 4], eax
je 0x43d285
mov edx, dword [esi + 0x10]
test edx, edx
je 0x43d285
cmp edx, eax
jb 0x43d285
add ecx, 0x20
add eax, ecx
push eax
call dword [0x55e018]
mov edi, eax
add esp, 4
test edi, edi
je 0x43d2be
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x20]
push ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.004f9d70
mov edx, dword [ebp - 8]
add esp, 0xc
test edx, edx
je 0x43d273
mov eax, dword [edi + 0x18]
add eax, dword [ebp - 4]
push edx
mov dword [edi + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.004f9d70
add esp, 0xc
mov eax, dword [ebp - 0xc]
test ebx, ebx
cmove ebx, edi
test eax, eax
je 0x43d282
mov dword [eax + 0x1c], edi
mov dword [ebp - 0xc], edi
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43d1a0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
pop edi
test eax, eax
je 0x43d2a2
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x43d2c5
push ebx
call fcn.0043d130
mov eax, dword [ebp + 0x14]
add esp, 4
xor ebx, ebx
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 8
jmp 0x43d293
test ebx, ebx
jne 0x43d2d5
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d6f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.00503b60
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x43d717
cmp ecx, 0xffffffff
cmovne eax, ecx
pop ebp
ret

Function at 0x43d8a0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004fa2f0
add esp, 0xc
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
pop ebp
ret