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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x6ebf94
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422656
xor eax, eax
jmp 0x422740
mov dword [ebp - 0x21c], 4
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 4
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 0x208
jae 0x422690
jmp 0x422695
call fcn.005cf37a
xor eax, eax
mov ecx, dword [ebp - 0x218]
mov word [ebp + ecx - 0x20c], ax
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.e3.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.005d0374
add esp, 8
test eax, eax
jne 0x422703
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0
push str.E3_UILANGID
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x42272c
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push str.UILANGID
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x4234c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
call sym.LSAdmin.exe_bool___cdecl_ESRILocale::IsRightToLeftLanguage_void_
movzx eax, al
test eax, eax
jne 0x4234e6
xor al, al
jmp 0x423597
mov cl, byte [ebp + 0xc]
mov byte [ebp - 0x20d], cl
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
push 0x6ebf94
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423519
mov al, byte [ebp - 0x20d]
jmp 0x423597
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423584
push 0x6ec01c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005d0374
add esp, 8
test eax, eax
je 0x42356e
mov dword [ebp - 0x218], 1
jmp 0x423578
mov dword [ebp - 0x218], 0
mov dl, byte [ebp - 0x218]
mov byte [ebp - 0x20d], dl
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x424050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00422240
cmp dword [ebp + 8], 0
jne 0x424076
xor eax, eax
jmp 0x424186
call sym.LSAdmin.exe_bool___cdecl_ESRILocale::IsRightToLeftLanguage_void_
movzx eax, al
test eax, eax
je 0x424095
call sym.LSAdmin.exe_bool___cdecl_ESRILocale::IsRightToLeftUI_void_
movzx ecx, al
test ecx, ecx
jne 0x424095
xor eax, eax
jmp 0x424186
call sym.LSAdmin.exe_unsigned_short_int___cdecl_ESRILocale::GetUICountryID_void_
movzx esi, ax
shl esi, 0xa
call sym.LSAdmin.exe_unsigned_short_int___cdecl_ESRILocale::GetUILangID_void_
movzx edx, ax
or esi, edx
cmp esi, 0x409
jne 0x4240b9
xor eax, eax
jmp 0x424186
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [edx + 0x7935b8]
test eax, eax
je 0x424123
mov ecx, dword [ebp - 0x41c]
push ecx
push 0x7935b8
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424123
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x424123
mov eax, dword [ebp - 0x420]
jmp 0x424186
mov edx, 2
imul eax, edx, 0
movzx ecx, word [eax + 0x7933b0]
test ecx, ecx
je 0x424184
mov edx, dword [ebp - 0x41c]
push edx
push 0x7933b0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424184
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x424184
mov eax, dword [ebp - 0x418]
jmp 0x424186
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x4245a0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx], ax
call fcn.00422610
mov edx, dword [ebp + 8]
mov word [edx], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp eax, edx
je 0x4245df
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push ecx
call fcn.00423cb0
add esp, 4
movzx edx, al
test edx, edx
jne 0x4245fa
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov edx, dword [ebp + 8]
movzx eax, word [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
jmp 0x424627
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
movzx eax, ax
test eax, eax
jne 0x424627
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov edx, dword [ebp + 8]
movzx eax, word [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
pop ebp
ret
Function at 0x4275a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8f0f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x78ca90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00428a10
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
sub edx, 0x10
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00428a10
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 0x10
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00428a10
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x10
mov edx, dword [ebp - 0x34]
mov dword [edx], ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00426f00
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00427050
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x48
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00427050
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00427050
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x429f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x429ffb
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x429fee
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.005d2128
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4315c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43163f
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [ebp - 2], dx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x4315f4
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
sar eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x431650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x431674
xor eax, eax
jmp 0x4316f4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43168b
xor eax, eax
jmp 0x4316f4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4316d7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4316d7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4316ae
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4316e3
xor eax, eax
jmp 0x4316f4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4316f1
xor eax, eax
jmp 0x4316f4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x445a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa56b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x78ca90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 0x6f1b2c
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x445acc
xor eax, eax
jmp 0x445c1c
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x445aea
xor eax, eax
jmp 0x445c1c
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x445b0f
xor eax, eax
jmp 0x445c1c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x445bac
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x10]
call ecx
test eax, eax
jne 0x445b9e
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x38], edx
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x445b84
push 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00444ef0
mov dword [ebp - 0x2c], eax
jmp 0x445b8b
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 0
je 0x445c1a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
cmp dword [ebp - 0x40], 0
jne 0x445c1a
mov dword [ebp - 0x44], 0xffffffff
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x445c0f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
jmp 0x445c15
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
jmp 0x445c1c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x448610
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
push 0xf01ff
push 0x6f1e10
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, 0x793930
call fcn.0042ffb0
test eax, eax
jne 0x44869b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xc]
add ecx, 0x2710
cmp eax, ecx
jae 0x44869b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44866d
mov ecx, dword [ebp - 0x10]
call fcn.00448900
mov esp, ebp
pop ebp
ret

Function at 0x44a4ba
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a57e
push edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], edi
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a56d
cmp dword [ebp - 0x110], 2
lea eax, [ebp - 0x108]
mov byte [ebp - 5], bl
jne 0x44a55e
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x44a56d
push eax
push edi
push esi
call fcn.0044a592
xor ebx, ebx
test eax, eax
setns bl
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x44a580
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret 4
Function at 0x44e140
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.005d2910
mov eax, dword [0x78ca90]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x44e1c7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x44e1c7
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.005dbff1
add esp, 0x10
lea ecx, [esp + 4]
test eax, eax
push 0
push ecx
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005cfbcb
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.005dbff1
add esp, 0x10
mov byte [esp + 0x107], 0
call fcn.0044e000
test eax, eax
jle 0x44e24b
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x44e25f
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005cfbcb
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.005cfbcb
add esp, 0x108
ret
Function at 0x4ad49f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004aab64
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4ad4d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004ad4f7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b3bb9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4b3bfe
call fcn.004aab64
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4b3bfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4b3c1a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004b1e00
mov ebx, eax
test edi, edi
je 0x4b3c18
test esi, esi
je 0x4b3c18
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b80da
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004ac60b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4b8116
call fcn.004b82f9
mov dword [esi + 0xc], 1
jmp 0x4b811b
call fcn.004b82f9
cmp dword [esi], 0
je 0x4b8164
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4b813e
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004a9f1b
jmp 0x4b814f
push 0xff
mov ecx, esi
call fcn.00430fd0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00437470
jmp 0x4b8188
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4b8188
push dword [esi]
push dword [ebp - 4]
call fcn.004bfe78
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b824e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004b82f9
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4b8296
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004a9f1b
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00437470
jmp 0x4b82a1
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004bfe78
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x575202
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x605121
call fcn.005dd327
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00428a10
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x71ff4c
call fcn.00429350
cmp eax, 0xffffffff
jne 0x5752b6
push 0
push 0x7283f4
lea ecx, [ebp - 0x4d0]
call fcn.00429350
cmp eax, 0xffffffff
jne 0x5752b6
push 0
push 0x720d74
lea ecx, [ebp - 0x4d0]
call fcn.00429350
cmp eax, 0xffffffff
jne 0x5752b6
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00428a10
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x575292
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.004312e0
jmp 0x5752e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004a996c
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.004312e0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x5752dc
mov ebx, dword [ebp - 0x4cc]
jmp 0x5752e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.004312e0
mov eax, ebx
call fcn.005dd2d6
ret