joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c082
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe0], 0
jne 0x48c09b
xor al, al
jmp 0x48c0b1
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x48c0af
xor al, al
jmp 0x48c0b1
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x48c170
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.005374e0
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 8], 0
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0xffffffff
jne 0x48c1bc
xor al, al
jmp 0x48c27a
lea ecx, [ebp - 4]
push ecx
push 0x1000
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x1018], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1014], ecx
cmp dword [ebp - 0x1018], 0
je 0x48c242
cmp dword [ebp - 4], 0
jbe 0x48c242
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov dword [ebp - 8], edx
push 0
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x1014]
cmp ecx, dword [ebp - 0x1010]
je 0x48c240
mov edx, dword [ebp - 0x100c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x48c27a
jmp 0x48c25e
cmp dword [ebp - 0x1018], 0
jne 0x48c25c
mov eax, dword [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x48c27a
jmp 0x48c26b
mov ecx, 1
test ecx, ecx
jne 0x48c1bc
mov edx, dword [ebp - 0x100c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x48cbb4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 4], 0
call fcn.0055f60b
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x2c], edx
push 0x5c
lea ecx, [ebp + 8]
call fcn.0054a7e6
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
sub ecx, 1
push ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 8]
call fcn.0054a6f2
mov byte [ebp - 4], 1
push 0x5b4608
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0054d5cd
mov byte [ebp - 4], 2
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x13c
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0054d567
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x13c
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0054d567
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
push 2
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
call fcn.0054d328
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48ccce
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5707c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 4], 0
call fcn.0055f60b
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x30], edx
push 0x2f
lea ecx, [ebp + 8]
call fcn.0054a7e6
mov ecx, dword [ebp - 0x30]
sub ecx, eax
sub ecx, 1
push ecx
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 8]
call fcn.0054a6f2
mov byte [ebp - 4], 1
push str..bak
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0054d5cd
mov byte [ebp - 4], 2
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x13c
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0054d567
mov byte [ebp - 4], 3
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x13c
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0054d567
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call fcn.0054d328
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x13c
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0054d567
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
push 2
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4aff96
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b0003
mov dword [ebp - 0x214], 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b01ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573c1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4b0228
xor eax, eax
jmp 0x4b03a0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x5b7278
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
ja 0x4b039d
lea eax, [ebp - 0x420]
push eax
push str..htm
push SysReAllocStringLen
mov ecx, dword [ebp - 0x42c]
call fcn.004aff96
test eax, eax
jne 0x4b039d
push str._shellopencommand
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x420]
push eax
push SysReAllocStringLen
mov ecx, dword [ebp - 0x42c]
call fcn.004aff96
test eax, eax
jne 0x4b039d
push str.__1_
lea ecx, [ebp - 0x420]
push ecx
call fcn.005387bc
add esp, 8
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4b031b
push 0x5b72c4
lea edx, [ebp - 0x420]
push edx
call fcn.005387bc
add esp, 8
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4b030e
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
lea ecx, [ebp + eax*2 - 0x422]
mov dword [ebp - 0x428], ecx
jmp 0x4b0319
mov edx, dword [ebp - 0x428]
mov word [edx], 0
jmp 0x4b0326
mov eax, dword [ebp - 0x428]
mov word [eax], 0
push 0x5b72cc
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [0x5be480]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x420]
push edx
push 0x5b72d0
lea eax, [ebp - 0x424]
push eax
call fcn.0054ab7c
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0054d328
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b13c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0x5c3634
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4b141f
mov ecx, dword [ebp + 8]
mov edx, dword [0x5be480]
mov dword [ecx], edx
mov eax, dword [ebp - 0x20]
or al, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
jmp 0x4b14c7
mov ecx, dword [0x5be480]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
lea edx, [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0054d76d
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x4b1461
cmp dword [ebp - 0x10], 0
jne 0x4b1461
mov eax, dword [0x5b7420]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], 0
je 0x4b14a3
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
call fcn.0054d7bd
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0054d095
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b3c1f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574139
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x60], ecx
mov eax, dword [0x5be480]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov eax, dword [edx - 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0054d76d
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
jne 0x4b3c8f
cmp dword [ebp - 0x14], 0
jne 0x4b3c8f
mov eax, dword [0x5b7420]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
je 0x4b3cdc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
call fcn.0054d7bd
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
add eax, 1
cmp dword [ebp - 0x10], eax
jbe 0x4b3d64
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0054d76d
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x4b3d1a
cmp dword [ebp - 0x10], 0
jne 0x4b3d1a
mov edx, dword [0x5b7420]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp - 0x28], 0
je 0x4b3d64
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
call fcn.0054d7bd
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004b24bc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0054d4bf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0054d328
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0054d328
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b5e28
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x74], 0
jne 0x4b5e41
xor eax, eax
jmp 0x4b5f42
mov ecx, dword [ebp - 0x10]
call fcn.004b75ef
test eax, eax
je 0x4b5e99
lea ecx, [ebp - 4]
push ecx
push 4
mov edx, dword [ebp - 0x10]
push edx
push 0x4b67be
push 0
push 0
call fcn.00538c06
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x90], 0
jne 0x4b5e84
xor eax, eax
jmp 0x4b5f42
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4b5f40
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x98], 0
je 0x4b5f40
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x98]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x98]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x98]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x98]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x1c]
push 0
mov edx, dword [ebp - 8]
neg edx
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x98]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x98]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x4b5f40
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
jmp 0x4b5f42
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b6118
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
call fcn.0055f60b
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b6169
call fcn.0055f60b
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b6170
xor eax, eax
jmp 0x4b6217
call fcn.0055f60b
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4b61a5
xor eax, eax
jmp 0x4b6217
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4b61cb
cmp dword [ebp - 0x10], 0
jne 0x4b61d9
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4b6217
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005379c0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004b51af
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4bb76c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5748f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
mov dword [ebp - 0x2d0], ecx
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 0x138]
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2bc]
push edx
push 1
push 0x5b9b70
push 0x5b9b8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x2d0]
mov dword [ecx + 0x148], eax
mov edx, dword [ebp - 0x2d0]
cmp dword [edx + 0x148], 1
jne 0x4bb9e0
lea ecx, [ebp - 0x274]
call fcn.004cc600
mov dword [ebp - 4], 0
push 0x208
lea eax, [ebp - 0x228]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x5be480]
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x228]
push edx
push 0x5b9bac
lea eax, [ebp - 0x230]
push eax
call fcn.0054ab7c
add esp, 0xc
mov ecx, dword [0x5be480]
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x22c]
call fcn.004b257a
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x274]
call fcn.004cc998
push 0x5c3c10
lea ecx, [ebp - 0x274]
call fcn.004cc9e5
push 1
lea ecx, [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.004b2ca4
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2c4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax]
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x274]
call fcn.004cca32
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
call fcn.0054d328
push str.Run_Registry_Winner_at_Scheduled_Time.
lea ecx, [ebp - 0x274]
call fcn.004ccae8
push 3
lea ecx, [ebp - 0x274]
call fcn.004cc951
lea eax, [ebp - 0x20]
push eax
call fcn.0054aedf
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0054af21
mov word [ebp - 0x14], 0x14
mov word [ebp - 0x12], 0
mov word [ebp - 0x10], 0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x274]
call fcn.004cc7f7
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 0x140]
mov dword [ebp - 0x2c8], ecx
push 0
mov edx, dword [ebp - 0x2c8]
push edx
lea ecx, [ebp - 0x274]
call fcn.004ccb6b
test eax, eax
jne 0x4bb9b0
mov eax, dword [ebp - 0x2d0]
mov dword [eax + 0x148], 0
push 0x40
push 0
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.005370b0
add esp, 0xc
mov edx, dword [ebp - 0x2d0]
mov eax, dword [edx + 0x138]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
push ecx
push 0xa
lea edx, [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.005380ea
add esp, 0xc
push eax
push str.Schedule_Task
push str.General_Options
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.004cc6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4be215
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574c52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
push str.OWNER_DATA
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4be277
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0054d328
mov eax, dword [ebp - 0x30]
jmp 0x4be323
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4be2a7
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0054d328
mov eax, dword [ebp - 0x34]
jmp 0x4be323
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00553111
mov byte [ebp - 4], 1
push 0
push 0x1001
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.005532c3
test eax, eax
je 0x4be2fe
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055341a
lea ecx, [ebp - 0x2c]
call fcn.005534de
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00553206
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0054d328
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8