joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422020
Capabilities:
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x489aa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push 0xd8
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x422113
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x422113
push edi
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [edi + 0x1c]
add edi, 0x1c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.7z.cab
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00419880
add esp, 0xc
mov ecx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x422129
push str.Extrac_7z.cab_Failed
call fcn.00414e90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x28], esi
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422113
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x14]
push edx
push str.Create__s
call fcn.00414e90
push 0x208
push 0
push 0x4aaff0
call fcn.0043f2b0
mov edi, dword [edi]
push 0x104
push edi
push 0x4aaff0
call fcn.00440443
mov eax, dword [esp + 0x34]
add esp, 0x20
push 0
push 0x41e230
push 0
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
cmp eax, 1
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4221b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x422f90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x489c96
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.0041baf0
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov dword [esp + 0xf0], 0
call edx
add eax, 0x10
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push str._360safe.exe_
lea ecx, [esp + 0x10]
mov byte [esp + 0xf8], 1
call fcn.0041a1c0
test al, al
je 0x423012
push 0xc
push str.360Base.dll
lea ecx, [esp + 0xc]
call fcn.00414300
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 4]
jne 0x423075
add eax, 0xfffffff0
mov byte [esp + 0xf0], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423049
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 8]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0041bd40
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
add esp, 0xf0
ret
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0xfc]
push eax
push 0x104
push ecx
call fcn.0044128e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xf0], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4230b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 8]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0041bd40
mov eax, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
add esp, 0xf0
ret
Function at 0x424540
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x489e80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp dword [esi], ebx
je 0x4246b2
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push str._360safe.exe_
mov dword [esp + 0x30], ebx
call fcn.0041a1c0
test al, al
je 0x42468a
push str.360Common.dll
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00419880
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.00424430
test eax, eax
je 0x424666
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x4245f7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x424666
call eax
mov esi, eax
cmp esi, ebx
je 0x424666
mov ecx, dword [esi]
mov edx, dword [ecx]
push ebx
push esi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
push str.MobileMgr
push esi
call ecx
mov edi, eax
cmp edi, ebx
je 0x424666
mov esi, dword [esp + 0x30]
cmp esi, ebx
jne 0x424654
push str.mobilemgr360MobileMgr.exe
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00419880
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42464b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x30]
call fcn.0040d560
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
neg esi
sbb esi, esi
add esi, 2
push esi
push 1
push edi
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42468a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4246b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x4246d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489eb6
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xfc], 0
call fcn.0041baf0
lea eax, [esp + 0xc]
push eax
push str._360safe.exe__safemon360tray.exe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x104], 1
call fcn.0041a1c0
mov esi, dword [esp + 0xc]
call fcn.00423e60
or edi, 0xffffffff
test eax, eax
je 0x424790
lea ecx, [esp + 0x10]
push ecx
push esi
mov ecx, 0x4a77b0
mov dword [esp + 0x18], edi
call fcn.00420560
test eax, eax
je 0x424790
mov eax, dword [esp + 0x10]
cmp eax, 3
je 0x424790
cmp eax, edi
je 0x424790
mov edx, dword [esp + 0xc]
push 5
push 0
push str._disablesp_0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x14]
mov byte [esp + 0xfc], 0
call fcn.0041bd40
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0xfc], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4247c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xf4
ret

Function at 0x425180
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48a04c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x18], 3
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x44]
call fcn.004247e0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 2
call fcn.004247e0
mov eax, dword [esi + 0x20]
sub eax, 0x10
mov byte [esp + 0x14], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4251f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1c]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 0x18]
sub esi, 0x10
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42523e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4258e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48a121
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x834], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0x858]
mov esi, ecx
mov ecx, 0x4ab834
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov dword [esp + 0x850], 0
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov bl, 1
push str._SMPROGRAMS_
mov byte [esp + 0x858], bl
call fcn.0041a1c0
test al, al
je 0x4259d8
push 0xe
push 0x48dff0
lea ecx, [esp + 0x18]
call fcn.00414300
push 0x48dfd4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00419880
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x854], 2
call fcn.00410770
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x850], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4259d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425a7a
push 0x828
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.0043f2b0
fld dword [0x48cccc]
push 0x104
fstp dword [esp + 0x2c]
lea edx, [edi + 0x620]
push edx
lea eax, [esp + 0x650]
push eax
mov dword [esp + 0x38], 0
call fcn.00440443
push 0x104
add edi, 0x418
lea ecx, [esp + 0x450]
push edi
push ecx
call fcn.00440443
mov edx, dword [esp + 0x34]
push 0x104
push edx
lea eax, [esp + 0x258]
push eax
call fcn.00440443
push 0x104
lea ecx, [esp + 0x58]
push 0x48dfc4
push ecx
call fcn.00440443
add esp, 0x3c
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00425540
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x850], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425aa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x850], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425ac9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x834]
xor ecx, esp
call fcn.0043f097
add esp, 0x844
ret 4
Function at 0x4277a0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x24], edi
test eax, eax
je 0x4277cd
push 1
push eax
call ebx
cmp eax, 0x102
jne 0x4277cd
xor al, al
pop edi
pop esi
pop ebx
ret 4
push ecx
lea eax, [edi + 0x88]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0040e220
mov ecx, dword [esi]
call fcn.00419cb0
push str.Install_thread_start:
call fcn.00414e90
add esp, 4
push 0
push 0
push esi
push 0x427630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp byte [edi], 0
je 0x427825
push 0x927c0
push eax
call ebx
push 0x48e4ac
call fcn.00414e90
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret 4
Function at 0x427c60
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x141c
call fcn.0043f640
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x1418], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x1430]
push edi
push ebx
push 0x400
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 5
mov dword [esp + 0x28], ebx
call ebp
mov esi, eax
cmp esi, ebx
je 0x427d89
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [esp + 0x10]
push eax
push 8
push esi
call ebx
test eax, eax
jne 0x427cfc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 0x1fffff
call ebp
mov esi, eax
test esi, esi
je 0x427d58
lea ecx, [esp + 0x10]
push ecx
push 8
push esi
call ebx
test eax, eax
je 0x427d58
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x1400
lea eax, [esp + 0x30]
push eax
push 2
push ecx
mov dword [esp + 0x2c], 0x1400
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x427d2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x427d58
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x427d8d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x427d67
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x427d7e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
test esi, esi
je 0x427d89
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x427e00
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x427dda
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
lea edi, [esp + 0x2c]
nop
mov ecx, dword [esp + 0x14]
push ecx
call ebx
test eax, eax
je 0x427dc6
mov edx, dword [edi]
push edx
call ebx
test eax, eax
je 0x427dc6
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x427dd2
inc ebp
add edi, 8
cmp ebp, dword [esp + 0x28]
jb 0x427da0
jmp 0x427dda
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x427df1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], 0
setne al
mov ecx, dword [esp + 0x1428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043f097
add esp, 0x141c
ret
Function at 0x427eb0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe2]
push ecx
xor bl, bl
mov word [esp + 0xe4], ax
call fcn.0043f2b0
add esp, 0xc
push 0x104
lea edx, [esp + 0xdc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x427f18
xor al, al
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.0043f097
add esp, 0x2e0
ret
push edi
push 0
lea eax, [esp + 0xe0]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x427f47
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.0043f097
add esp, 0x2e0
ret
push esi
push edi
call fcn.0043f16f
mov esi, eax
add esp, 4
test esi, esi
je 0x428040
push edi
push 0
push esi
call fcn.0043f2b0
add esp, 0xc
push esi
push edi
push 0
lea ecx, [esp + 0xec]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x428014
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x428037
mov eax, dword [esp + 0x14]
movzx edi, word [eax]
push ebp
movzx ebp, word [eax + 2]
xor ecx, ecx
push 0xc6
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.0043f2b0
movzx eax, bp
push eax
movzx ecx, di
push ecx
lea edx, [esp + 0x30]
push 0x48e920
push edx
mov dword [esp + 0x2c], 0
call fcn.004112e0
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
call sub.VERSION.dll_VerQueryValueW
pop ebp
test eax, eax
je 0x428037
mov eax, dword [esp + 0xc]
mov ecx, 0x31
cmp cx, word [eax]
jne 0x428014
xor edx, edx
cmp dx, word [eax + 2]
jne 0x428014
mov bl, 1
push esi
call fcn.0043eacf
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.0043f097
add esp, 0x2e0
ret
push esi
call fcn.0043eacf
add esp, 4
mov ecx, dword [esp + 0x2e8]
pop esi
pop edi
pop ebx
xor ecx, esp
xor al, al
call fcn.0043f097
add esp, 0x2e0
ret

Function at 0x4292d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4292f0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x429304
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc
Function at 0x429330
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x429346
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x429353
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x429d70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x429de6
xor eax, eax
cmp ecx, edi
je 0x429dd4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x429df4
cmp ecx, edi
je 0x429e92
push ecx
jmp 0x429e8c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x429e5c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00429d70
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x429eab
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x429e20
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x429e6f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x429e92
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0043f097
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x429e94
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043f097
mov esp, ebp
pop ebp
ret 4
Function at 0x42a950
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a340
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1_
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 0x84000000
push 0
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
push 0x400
mov edi, eax
call fcn.0043de14
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x400
mov esi, eax
push esi
push edi
mov dword [ebp - 0x14], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebx
call edi
test esi, esi
je 0x42a9ef
push esi
call fcn.00440438
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret