joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414960
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44a248
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
lea ecx, [esp + 0x68]
call fcn.00414650
xor ebx, ebx
mov edx, str.drvData.bin
lea ecx, [esp + 0x68]
lea edi, [esp + 0x4c]
mov dword [esp + 0x90], ebx
call fcn.004028a0
mov edx, str.drvIdx.bin
lea ecx, [esp + 0x68]
lea edi, [esp + 0x30]
mov byte [esp + 0x90], 1
call fcn.004028a0
mov byte [esp + 0x90], 2
mov edx, dword [esp + 0x50]
mov edi, 8
cmp dword [esp + 0x64], edi
jae 0x4149ee
lea edx, [esp + 0x50]
xor eax, eax
mov word [esp + 0x18], ax
mov eax, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414a06
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00402450
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x414a2e
lea eax, [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push eax
call ebx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x414a4a
lea eax, [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebp
cmp dword [esp + 0x2c], edi
jb 0x414a66
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042123b
add esp, 4
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x414a74
lea edx, [esp + 0x34]
xor eax, eax
mov word [esp + 0x18], ax
mov eax, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414a90
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00402450
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x414ab8
lea eax, [esp + 0x18]
push 0x80
push eax
call ebx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x414ace
lea eax, [esp + 0x18]
push eax
call ebp
cmp dword [esp + 0x2c], edi
jb 0x414ae4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042123b
add esp, 4
cmp dword [esp + 0x48], edi
jb 0x414af7
mov edx, dword [esp + 0x34]
push edx
call fcn.0042123b
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
cmp dword [esp + 0x64], edi
jb 0x414b20
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0042123b
add esp, 4
xor edx, edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
cmp dword [esp + 0x80], edi
jb 0x414b45
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042123b
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x80
ret
Function at 0x415d20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x864
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x85c], eax
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00431a80
xor eax, eax
xor edx, edx
push 0x7fe
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x6e]
xor ecx, ecx
push eax
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 1
mov word [esp + 0x58], cx
mov word [esp + 0x70], dx
call fcn.00431a80
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
add eax, eax
add esp, 0x18
cmp eax, 0x7fe
jbe 0x415d98
mov eax, 0x7fe
push eax
push ecx
lea ecx, [esp + 0x60]
push ecx
call fcn.00434a80
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415de2
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x864
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x85c]
mov eax, dword [esp]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x864
ret

Function at 0x415f60
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44a203
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebp
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x18], ebx
call fcn.004216b6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415faf
push 0x80004005
call fcn.00404bd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x48], 0
lea ebp, [ebx + 4]
call fcn.004216b6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x415fe2
push 0x80004005
call fcn.00404bd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
push str.SYSTEMCurrentControlSetControlCOM_Name_Arbiter
mov ecx, ebx
mov byte [esp + 0x4c], 1
call fcn.00409d50
push str.ComDB
mov ecx, ebp
call fcn.00409d50
mov esi, ebx
call fcn.004161f0
mov eax, dword [ebx]
lea esi, [ebx + 8]
mov ecx, 8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push eax
push 0x80000002
mov byte [esp + 0x30], 0xff
mov byte [esp + 0x31], 0xf
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416077
mov esi, dword [esp + 0x14]
push 0x20
lea edx, [esp + 0x20]
push edx
push 3
push eax
mov eax, dword [ebp]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x416077
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x3c
ret
Function at 0x4160a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [esi]
push edi
lea ecx, [esp + 8]
push ecx
push 0x2001f
push 0
push eax
push 0x80000002
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4160ed
mov edi, dword [esp + 8]
push 0x20
lea edx, [esi + 8]
push edx
push 3
push eax
mov eax, dword [esi + 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4160ed
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41610c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41612a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
add esp, 8
ret

Function at 0x4161f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esi]
push edi
lea ecx, [esp + 4]
push ecx
push 0x2001f
push 0
push eax
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416264
mov edi, dword [esp + 4]
xor ecx, ecx
lea eax, [esi + 8]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
lea edx, [esp + 8]
push edx
push eax
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 4]
push ecx
push edi
mov dword [esp + 0x20], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x416264
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
add esp, 0xc
ret
Function at 0x416e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44afd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], eax
mov word [esp + 0xc], cx
mov dword [esp + 0x30], eax
call fcn.0041cd80
cmp eax, 4
jne 0x416ee4
call fcn.0041cf70
lea ecx, [esp + 8]
test al, al
je 0x416edb
push 8
push str.NTAMD64_
jmp 0x416f35
push 6
push str.WinXP_
jmp 0x416f35
cmp eax, 5
jne 0x416f06
call fcn.0041cf70
push 8
lea ecx, [esp + 0xc]
test al, al
je 0x416eff
push str.NTAMD64_
jmp 0x416f35
push str.Win2003_
jmp 0x416f35
cmp eax, 6
jne 0x416f2a
call fcn.0041cf70
lea ecx, [esp + 8]
test al, al
je 0x416f21
push 0xc
push str.VistaAMD64_
jmp 0x416f35
push 0xa
push str.VistaX86_
jmp 0x416f35
push 6
push str.Win2K_
lea ecx, [esp + 0x10]
call fcn.00402450
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x416f49
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00404d30
cmp dword [esp + 0x20], 8
jb 0x416f65
mov edx, dword [esp + 0xc]
push edx
call fcn.0042123b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x30
ret
Function at 0x419080
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a198
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404640
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x4190f0
push esi
lea ecx, [esp + 0x18]
call fcn.00404b50
mov edi, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edi
call fcn.0042fa0a
add esp, 8
test esi, esi
jl 0x4191af
cmp esi, dword [edi - 8]
jg 0x4191af
lea eax, [esp + 0x14]
mov dword [edi - 0xc], esi
xor edx, edx
push eax
lea ecx, [esp + 0x20]
mov word [edi + esi*2], dx
lea esi, [ebx + 0x1c]
push ecx
call fcn.0041a320
mov edx, dword [esi + 0x18]
mov eax, dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
test esi, esi
je 0x41913e
cmp esi, eax
je 0x419143
call fcn.0042f0b7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jne 0x41918b
lea esi, [ebx + 0x3c]
lea eax, [edi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test esi, esi
jne 0x4191ab
call fcn.0042f0b7
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 0x18]
jne 0x4191a2
call fcn.0042f0b7
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x10]
jmp 0x419150
mov esi, dword [esi]
jmp 0x419194
push 0x80070057
call fcn.00404bd0
int3
Function at 0x41bb20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
test byte [0x46288c], 1
push edi
mov dword [esp + 0x10], esi
jne 0x41bb57
or dword [0x46288c], 1
mov dword [0x46287c], ebx
mov dword [0x462880], ebx
mov byte [0x462884], bl
call fcn.0041cd80
cmp eax, 3
jne 0x41bb7d
mov dword [0x46287c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x462880], eax
mov byte [0x462884], 1
mov eax, dword [esi + 0xc]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41bc76
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov edi, 7
lea esp, [esp]
test byte [0x46288c], 1
jne 0x41bbb2
or dword [0x46288c], 1
jmp 0x41bbdb
cmp byte [0x462884], bl
je 0x41bc5e
cmp dword [0x46287c], 0xffffffff
je 0x41bbef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x462880]
cmp eax, dword [0x46287c]
jbe 0x41bbef
mov dword [0x46287c], ebx
mov dword [0x462880], ebx
mov byte [0x462884], bl
jmp 0x41bc5e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x13
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.StartMonitoring....
mov word [ecx + 4], ax
call fcn.00402450
call fcn.0040c500
add esp, 0x1c
call fcn.00420190
mov esi, eax
cmp esi, ebx
je 0x41bc5e
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bc5e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x18
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.GetUnSafeRemoveWnd2K_OK.
mov word [ecx + 4], dx
call fcn.00402450
call fcn.0040c500
add esp, 0x1c
push ebx
push ebx
push 0x10
push esi
call ebp
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41bba0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cd80
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x41ce00
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x41cdda
mov eax, 1
cmp dword [esp + 0x10], eax
je 0x41cdc5
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret
cmp eax, 0x5a
jne 0x41cdc3
cmp dword [esp + 0x10], 1
jne 0x41cdc3
mov eax, 2
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret
cmp eax, 5
jne 0x41ce81
mov eax, dword [esp + 8]
test eax, eax
jne 0x41ce2e
cmp dword [esp + 0x10], 2
jne 0x41cdc3
mov eax, 3
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret
cmp eax, 1
jne 0x41ce54
cmp dword [esp + 0x10], 2
jne 0x41cdc3
mov eax, 4
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret
cmp eax, 2
jne 0x41cdc3
cmp dword [esp + 0x10], eax
jne 0x41cdc3
mov eax, 5
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret
cmp eax, 6
jne 0x41cdc3
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret

Function at 0x41cea0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x41ced8
mov eax, 1
cmp dword [esp + 8], eax
je 0x41ceda
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042eb3c
add esp, 0x118
ret
Function at 0x41e680
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x44b8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
xor ebp, ebp
call fcn.00410850
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebx, eax
cmp ecx, eax
jbe 0x41e6d2
call fcn.0042f0b7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edi, ecx
cmp ecx, eax
jbe 0x41e6e1
call fcn.0042f0b7
mov ecx, dword [esp + 0x20]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x28]
lea esi, [esp + 0x30]
call fcn.0041a590
mov edx, esi
push edx
push 0x421120
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
xor edi, edi
sar eax, 2
xor esi, esi
cmp eax, edi
jbe 0x41e75b
cmp esi, eax
jb 0x41e726
call fcn.0042f0b7
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + esi*4]
call fcn.0041e090
mov ecx, dword [esp + 0x2c]
test al, al
mov eax, dword [esp + 0x30]
jne 0x41e746
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x41e726
jmp 0x41e75b
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41e758
call fcn.0042f0b7
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx + esi*4]
cmp ecx, edi
je 0x41e768
push ecx
call fcn.0042123b
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.0042123b
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x41f390
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x41f3af
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
sete al
test al, al
je 0x41f3af
mov al, 1
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x41f3c4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
test al, al
je 0x41f3ea
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x41f400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
xor eax, eax
cmp dword [esi + 4], eax
setne al
ret

Function at 0x41f520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x449b83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00446d5f
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x41f571
mov eax, dword [esi + 0x1c]
push eax
call fcn.0042123b
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x420190
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x44b7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
xor ebp, ebp
call fcn.00410850
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebx, eax
cmp ecx, eax
jbe 0x4201e2
call fcn.0042f0b7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edi, ecx
cmp ecx, eax
jbe 0x4201f1
call fcn.0042f0b7
mov ecx, dword [esp + 0x20]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x28]
lea esi, [esp + 0x30]
call fcn.0041a590
mov edx, esi
push edx
push 0x421120
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.004216b6
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420230
push 0x80004005
call fcn.00404bd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x30]
mov ecx, eax
sub ecx, dword [esp + 0x2c]
test ecx, 0xfffffffc
jne 0x420274
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x1c]
push str.EnumTop_error_:_d
push edx
call fcn.0040a810
mov eax, dword [esp + 0x3c]
add esp, 0xc
sub eax, dword [esp + 0x2c]
xor esi, esi
sar eax, 2
cmp eax, ebx
jbe 0x4202c7
cmp esi, eax
jb 0x42028a
call fcn.0042f0b7
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + esi*4]
call fcn.0041fe40
test al, al
jne 0x4202ac
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
inc esi
sar eax, 2
cmp esi, eax
jb 0x42028a
jmp 0x4202c7
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 2
cmp esi, ecx
jb 0x4202c0
call fcn.0042f0b7
mov edx, dword [esp + 0x2c]
mov ebp, dword [edx + esi*4]
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4202eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4202fc
push eax
call fcn.0042123b
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0042123b
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x423ece
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 0x423ef2
cmp dword [edi + 0x54], 0
jne 0x423ef2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042adf1
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.00423e8f
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 0x42957c
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 0x4295c3
call fcn.0042adf1
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 0x4295c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4295df
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004290f4
mov esi, eax
test edi, edi
je 0x4295dd
test ebx, ebx
je 0x4295dd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42eb3c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45dd50]
jne 0x42eb46
repz ret
jmp fcn.00434970
Function at 0x43f680
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.0043437f
and dword [ebp - 4], 0
cmp dword [0x4623d0], 0
mov ebx, eax
jne 0x43f731
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43f7e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43f7e2
push eax
call fcn.0043430d
mov dword [esp], 0x450320
push edi
mov dword [0x4623d0], eax
call esi
push eax
call fcn.0043430d
mov dword [esp], 0x45030c
push edi
mov dword [0x4623d4], eax
call esi
push eax
call fcn.0043430d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4623d8], eax
call esi
push eax
call fcn.0043430d
pop ecx
mov dword [0x4623e0], eax
test eax, eax
je 0x43f731
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043430d
pop ecx
mov dword [0x4623dc], eax
mov eax, dword [0x4623dc]
cmp eax, ebx
je 0x43f789
cmp dword [0x4623e0], ebx
je 0x43f789
push eax
call fcn.00434388
push dword [0x4623e0]
mov esi, eax
call fcn.00434388
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43f789
test edi, edi
je 0x43f789
call esi
test eax, eax
je 0x43f780
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43f780
test byte [ebp - 0xc], 1
jne 0x43f789
or dword [ebp + 0x10], 0x200000
jmp 0x43f7c2
mov eax, dword [0x4623d4]
cmp eax, ebx
je 0x43f7c2
push eax
call fcn.00434388
pop ecx
test eax, eax
je 0x43f7c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43f7c2
mov eax, dword [0x4623d8]
cmp eax, ebx
je 0x43f7c2
push eax
call fcn.00434388
pop ecx
test eax, eax
je 0x43f7c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4623d0]
call fcn.00434388
pop ecx
test eax, eax
je 0x43f7e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43f7e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402e24
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402e63
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402e63
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402e63
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402e63
cmp dword [ecx + 0x74], 0xe
jbe 0x402e63
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret