joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434780
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x434812
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x14]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4347ca
push str.Cant___lookup___privilege___value._n
call fcn.004e8954
add esp, 4
mov dword [ebp - 0xc], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x4347f8
push str.Cant___adjust___privilege___value._n
call fcn.004e8954
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x439d00
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519887
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x578ab0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004e4a40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00406300
mov dword [ebp - 4], 1
push str.evdo_Local_path
lea ecx, [ebp - 0x238]
call fcn.004043f0
lea ecx, [ebp - 0x238]
call fcn.00403040
push eax
call fcn.0043be00
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x439ded
push 0
lea ecx, [ebp - 0x238]
call fcn.00403040
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x238]
call fcn.00403040
push eax
call fcn.0043be00
add esp, 4
movzx edx, al
test edx, edx
jne 0x439ded
push 0
lea ecx, [ebp - 0x238]
call fcn.00403040
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403d70
mov ecx, dword [ebp - 0x23c]
or ecx, 1
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00403020
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4045
mov esp, ebp
pop ebp
ret
Function at 0x43a4e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5199d4
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x578ab0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa84], 0
lea ecx, [ebp - 0xa70]
call fcn.0043aa70
mov dword [ebp - 4], 0
push 0x20019
push str.SoftwareCW_MiniGnet_pppoeSetupInfo
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xa70]
call fcn.0043ab10
test eax, eax
je 0x43a57b
push 0x534f00
mov ecx, dword [ebp + 8]
call fcn.00406300
mov eax, dword [ebp - 0xa84]
or eax, 1
mov dword [ebp - 0xa84], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa70]
call fcn.0043aaa0
mov eax, dword [ebp + 8]
jmp 0x43a6f4
xor ecx, ecx
mov word [ebp - 0xa64], cx
push 0x7fe
push 0
lea edx, [ebp - 0xa62]
push edx
call fcn.004e4a40
add esp, 0xc
mov dword [ebp - 0xa80], 0x400
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xa64]
push ecx
push str.SetupPath
lea ecx, [ebp - 0xa70]
call fcn.0043ab80
lea ecx, [ebp - 0xa70]
call fcn.0043aac0
lea ecx, [ebp - 0xa78]
call fcn.00404750
mov byte [ebp - 4], 1
lea edx, [ebp - 0xa64]
push edx
lea ecx, [ebp - 0xa78]
call fcn.00404850
push 0x5c
lea ecx, [ebp - 0xa78]
call fcn.0043ac40
mov dword [ebp - 0xa68], eax
lea ecx, [ebp - 0xa78]
call fcn.00404890
sub eax, dword [ebp - 0xa68]
mov dword [ebp - 0xa7c], eax
mov eax, dword [ebp - 0xa7c]
push eax
mov ecx, dword [ebp - 0xa68]
push ecx
lea ecx, [ebp - 0xa78]
call fcn.00436100
push str.ChinaTelDriverManager
lea ecx, [ebp - 0xa78]
call fcn.004029f0
mov dword [ebp - 0x264], 0
push 0x24c
push 0
lea edx, [ebp - 0x260]
push edx
call fcn.004e4a40
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xa78]
call fcn.00410e30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa74], eax
cmp dword [ebp - 0xa74], 0xffffffff
jne 0x43a69d
push 0
lea ecx, [ebp - 0xa78]
call fcn.00410e30
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x534f48
lea ecx, [ebp - 0xa78]
call fcn.004029f0
lea ecx, [ebp - 0xa78]
call fcn.00410e30
push eax
mov ecx, dword [ebp + 8]
call fcn.00406300
mov ecx, dword [ebp - 0xa84]
or ecx, 1
mov dword [ebp - 0xa84], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa78]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa70]
call fcn.0043aaa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4045
mov esp, ebp
pop ebp
ret
Function at 0x43ab80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x43ab89
xor ecx, ecx
jne 0x43ab89
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43abd0
mov eax, dword [ebp - 0xc]
jmp 0x43ac2d
cmp dword [ebp - 4], 1
je 0x43abe3
cmp dword [ebp - 4], 2
je 0x43abe3
mov eax, 0xd
jmp 0x43ac2d
cmp dword [ebp + 0xc], 0
je 0x43ac21
cmp dword [ebp - 8], 0
je 0x43ac19
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x43ac10
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x43ac17
mov eax, 0xd
jmp 0x43ac2d
jmp 0x43ac21
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43ba30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x578ab0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 4
jne 0x43ba7f
cmp dword [ebp - 0x118], 0xa
jne 0x43ba7f
cmp dword [ebp - 0x110], 1
jne 0x43ba7f
mov eax, 1
jmp 0x43bb19
cmp dword [ebp - 0x11c], 4
jne 0x43baa1
cmp dword [ebp - 0x118], 0x5a
jne 0x43baa1
cmp dword [ebp - 0x110], 1
jne 0x43baa1
mov eax, 2
jmp 0x43bb19
cmp dword [ebp - 0x11c], 5
jne 0x43bac3
cmp dword [ebp - 0x118], 0
jne 0x43bac3
cmp dword [ebp - 0x110], 2
jne 0x43bac3
mov eax, 3
jmp 0x43bb19
cmp dword [ebp - 0x11c], 5
jne 0x43bae5
cmp dword [ebp - 0x118], 1
jne 0x43bae5
cmp dword [ebp - 0x110], 2
jne 0x43bae5
mov eax, 4
jmp 0x43bb19
cmp dword [ebp - 0x11c], 5
jne 0x43bb07
cmp dword [ebp - 0x118], 2
jne 0x43bb07
cmp dword [ebp - 0x110], 2
jne 0x43bb07
mov eax, 5
jmp 0x43bb19
cmp dword [ebp - 0x11c], 6
jne 0x43bb17
mov eax, 6
jmp 0x43bb19
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4045
mov esp, ebp
pop ebp
ret
Function at 0x43e290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0043e350
movzx eax, al
test eax, eax
je 0x43e2aa
mov al, 1
jmp 0x43e30c
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x43e2ca
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
call edx
movzx eax, al
test eax, eax
je 0x43e300
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x43e320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 4], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x462750
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e760
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x578ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
call fcn.00424d80
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
push 0x53a3a4
lea ecx, [ebp - 0x1c]
call fcn.00404790
mov dword [ebp - 4], 0
push str.SetWorkMode
lea ecx, [ebp - 0x20]
call fcn.00404790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004240d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404810
push 3
push 1
mov ecx, dword [ebp - 0x24]
call fcn.004240a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
call fcn.00462890
movzx ecx, al
test ecx, ecx
je 0x46281b
jmp 0x46282b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x1388
jbe 0x46280a
push 0x9c4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push 2
mov ecx, dword [ebp - 0x24]
call fcn.004240a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
call fcn.004628f0
movzx edx, al
test edx, edx
je 0x46285c
jmp 0x46286c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x1388
jbe 0x46284b
push 3
push 3
mov ecx, dword [ebp - 0x24]
call fcn.004240a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47cb20
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47cb45
push 7
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
cmp dword [ebp - 8], 0
je 0x47cb70
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, dword [ebp + 8]
call fcn.00422cf0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 4
Function at 0x4abb00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov eax, 1
test eax, eax
je 0x4abc74
push 0x64
mov ecx, dword [ebp - 0x1c]
add ecx, 0x34
call fcn.00428f40
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4abb3c
jmp 0x4abc74
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2000
je 0x4abb78
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x30]
test edx, edx
je 0x4abb78
mov al, 1
jmp 0x4abc76
cmp dword [ebp - 0x10], 0
jne 0x4abb8b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x2c], 0
je 0x4abc2f
cmp dword [ebp - 0x10], 0x258
je 0x4abc2f
cmp dword [ebp - 0x10], 0
je 0x4abba6
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
jmp 0x4abbaf
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004abd90
mov dword [ebp - 0x18], 0
jmp 0x4abbe9
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x50
jge 0x4abc0d
push 0x64
mov ecx, dword [ebp - 0x1c]
add ecx, 0x34
call fcn.00428f40
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4abc0b
xor al, al
jmp 0x4abc76
jmp 0x4abbe0
cmp dword [ebp - 0x10], 0x26b
jne 0x4abc1c
xor al, al
jmp 0x4abc76
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x50]
add eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x50], eax
mov al, 1
jmp 0x4abc76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 4]
cmp edx, 0x3e8
jbe 0x4abc6f
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x30]
test ecx, ecx
je 0x4abc6f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004abf50
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
jmp 0x4abb12
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4ac2b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x3c], ecx
call fcn.004630a0
mov ecx, eax
call fcn.004029b0
mov ecx, eax
call fcn.00462a50
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ac2d7
jmp 0x4ac334
mov dword [ebp - 8], 0x100
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x50]
call eax
cmp dword [ebp - 8], 1
jne 0x4ac319
cmp dword [ebp - 0x20], 2
jne 0x4ac319
jmp 0x4ac334
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, 0x1388
jb 0x4ac2e7
mov esp, ebp
pop ebp
ret
Function at 0x4ad200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527f94
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x578ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
push 0x5440bc
lea ecx, [ebp - 0x20]
call fcn.00404790
mov dword [ebp - 4], 0
call fcn.00424d80
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00404810
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00427c10
push eax
mov ecx, dword [ebp + 8]
call fcn.004d1389
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.004acd10
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
call eax
push 0
mov ecx, dword [ebp + 8]
call fcn.004ce723
mov ecx, dword [ebp - 0x54]
add ecx, 0x78
call fcn.00425aa0
test eax, eax
jbe 0x4ad2d3
mov ecx, dword [ebp - 0x54]
add ecx, 0x60
call fcn.00425aa0
test eax, eax
ja 0x4ad2d8
jmp 0x4ad3ca
fld dword [0x544288]
fstp dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x60
call fcn.004880a0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x60
call fcn.004882f0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.004adc10
add esp, 0x14
mov ecx, eax
call fcn.0048fe20
fld dword [eax]
fstp dword [ebp - 0x10]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x78
call fcn.004880a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x78
call fcn.004882f0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.004adc10
add esp, 0x14
mov ecx, eax
call fcn.0048fe20
fld dword [eax]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x10]
fld dword [ebp - 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x4ad380
fld dword [ebp - 0x10]
fstp dword [ebp - 0x60]
jmp 0x4ad386
fld dword [ebp - 0x1c]
fstp dword [ebp - 0x60]
fld dword [ebp - 0x60]
fstp dword [ebp - 0x18]
push ecx
fld dword [ebp - 0x18]
fstp dword [esp]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.004acec0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.004ac9d0
push ecx
fld dword [ebp - 0x18]
fstp dword [esp]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004acbc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b8bb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x57d2fc], 0
je 0x4b8bd0
push 5
mov ecx, dword [0x57d2fc]
call fcn.0043e390
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop ebp
ret

Function at 0x4c6cd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4c6cfd
cmp dword [edi + 0x54], 0
jne 0x4c6cfd
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004d11b4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004c6c9a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4c7275
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4c72bd
call fcn.004d11b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c72bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4c7300
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4c72e9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4c72e9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4c72fd
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4cd906
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4cd94d
call fcn.004d11b4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4cd94d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4cd969
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004cd47e
mov esi, eax
test edi, edi
je 0x4cd967
test ebx, ebx
je 0x4cd967
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4ce138
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x529e88
call fcn.004e8e8b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4ce15d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4ce1a3
lea ecx, [ebp - 0x10]
call fcn.00404750
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c6038
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404c00
mov eax, esi
call fcn.004e8f63
ret 8
Function at 0x4e4045
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x578ab0]
jne 0x4e404f
repz ret
jmp fcn.004ec35c

Function at 0x4f8dce
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004eafb4
and dword [ebp - 4], 0
cmp dword [0x57fe50], 0
mov ebx, eax
jne 0x4f8e7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4f8f30
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4f8f30
push eax
call fcn.004eaf42
mov dword [esp], 0x54b718
push edi
mov dword [0x57fe50], eax
call esi
push eax
call fcn.004eaf42
mov dword [esp], 0x54b704
push edi
mov dword [0x57fe54], eax
call esi
push eax
call fcn.004eaf42
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x57fe58], eax
call esi
push eax
call fcn.004eaf42
pop ecx
mov dword [0x57fe60], eax
test eax, eax
je 0x4f8e7f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004eaf42
pop ecx
mov dword [0x57fe5c], eax
mov eax, dword [0x57fe5c]
cmp eax, ebx
je 0x4f8ed7
cmp dword [0x57fe60], ebx
je 0x4f8ed7
push eax
call fcn.004eafbd
push dword [0x57fe60]
mov esi, eax
call fcn.004eafbd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4f8ed7
test edi, edi
je 0x4f8ed7
call esi
test eax, eax
je 0x4f8ece
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4f8ece
test byte [ebp - 0xc], 1
jne 0x4f8ed7
or dword [ebp + 0x10], 0x200000
jmp 0x4f8f10
mov eax, dword [0x57fe54]
cmp eax, ebx
je 0x4f8f10
push eax
call fcn.004eafbd
pop ecx
test eax, eax
je 0x4f8f10
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4f8f10
mov eax, dword [0x57fe58]
cmp eax, ebx
je 0x4f8f10
push eax
call fcn.004eafbd
pop ecx
test eax, eax
je 0x4f8f10
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x57fe50]
call fcn.004eafbd
pop ecx
test eax, eax
je 0x4f8f30
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4f8f32
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx