joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eb2f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492df2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
xor esi, esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x40eba8
lea edx, [ebp - 0x48]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp edi, edx
je 0x40ec64
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x40ec64
xor ecx, ecx
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x34], ebx
jle 0x40ec1f
mov edx, dword [eax + ecx*4]
cmp edx, ebx
je 0x40ec0d
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ebcf
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403bac
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040b2f1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], bl
jb 0x40ec0d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x38], ecx
cmp ecx, dword [ebp - 0x34]
jl 0x40ebb2
mov esi, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x48]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp edi, eax
je 0x40ec45
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
jmp 0x40ec64
cmp esi, ebx
je 0x40ec64
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push edx
push esi
call fcn.0040b679
push esi
call fcn.00404f07
add esp, 0x14
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x41000e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410080
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41004f
cmp eax, 2
jne 0x41006a
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x41007a
test eax, eax
je 0x410075
test al, 1
jne 0x41006a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41007a
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4117ab
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e226
push str.wps.exe
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00405aad
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4117fe
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete bl
cmp dword [ebp - 0x18], 8
jb 0x41181c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x411842
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret

Function at 0x4127b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412820
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test esi, esi
pop esi
je 0x412823
mov eax, dword [ebp + 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x412c77
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x412caa
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push ecx
push edx
mov dword [ebp - 8], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 3
je 0x412ce6
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push ecx
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414e6d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x40]
lea edi, [ecx + 0x40]
test eax, eax
jne 0x414ec2
mov eax, dword [0x4cc97c]
push eax
call fcn.00415008
mov esi, eax
mov eax, dword [edi]
add esp, 4
cmp esi, eax
je 0x414ec2
push eax
mov ecx, edi
call fcn.00415020
mov dword [edi], esi
cmp dword [edi], 0
je 0x414fb3
push 0x14
call fcn.00404274
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor eax, eax
push eax
mov dword [esi], eax
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push eax
mov dword [ebp - 4], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ecx
cmp dword [edi], 0
mov byte [ebp - 4], 1
jne 0x414f37
mov edx, dword [0x4cc97c]
push edx
call fcn.00415008
mov ecx, dword [edi]
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, ecx
je 0x414f37
push ecx
mov ecx, edi
call fcn.00415020
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [edi]
push esi
push 0
push ecx
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414f78
push edi
push str._ld_not_overlapped
call fcn.004150a2
add esp, 8
test ebx, ebx
je 0x414f6d
cmp ebx, 0xffffffff
je 0x414f6d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00404f07
add esp, 4
jmp 0x414ff2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x414fc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._ld_readfile_failed:__ld
call fcn.004150a2
add esp, 0xc
test ebx, ebx
je 0x414faa
cmp ebx, 0xffffffff
je 0x414faa
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00404f07
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
xor edi, edi
push edx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], edi
call fcn.00406b5c
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x18], edi
mov dword [ebp + 0xc], ebx
call fcn.00406b5c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4154cf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x415510
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push esi
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c53e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41c559
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c590
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x41c58c
jmp 0x41c57e
cmp esi, eax
jae 0x41c590
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x41c57e
cmp esi, eax
jb 0x41c597
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41d06a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e660
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x41d14d
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x10], ebx
je 0x41d14d
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41d0b8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fbe3
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], edi
jb 0x41d0cd
mov eax, dword [esi]
jmp 0x41d0cf
mov eax, esi
push eax
lea ecx, [ebp + 0xc]
call fcn.0040fbe3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push 0x2001f
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040ff61
cmp eax, ebx
je 0x41d162
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x41d108
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d14d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
mov edi, 4
push esi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x41d191
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x1c]
je 0x41d194
mov edi, dword [ebp + 0x14]
cmp esi, ebx
je 0x41d19f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d1be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d57f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x41d5c0
cmp dword [esi], 0xffffffff
jne 0x41d5c0
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d5b0
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 4]
push ecx
push 0
push edx
push eax
push 0
push 0
call fcn.0044a927
add esp, 0x18
mov dword [esi], eax
xor eax, eax
cmp dword [esi], eax
mov byte [esi + 8], 1
setne al
pop esi
pop ebp
ret 8
xor al, al
pop esi
pop ebp
ret 8

Function at 0x422c08
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x422c2b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00422b62
mov edi, dword [ebp - 0x18]
push edi
push esi
push ebx
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x422c9f
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x49b980
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x422c9f
cmp dword [ebp - 4], ebx
je 0x422c9f
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
cmp eax, 0x60002
ja 0x422c8c
jne 0x422c8e
cmp dword [ecx + 0xc], 0x23f0406c
jb 0x422c8e
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.0041c82d
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x422cac
push edi
call fcn.00404f07
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423498
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fabf
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x81]
xor ebx, ebx
push edx
mov dword [ebp - 0x88], ecx
push 0x104
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x81], bl
call fcn.004228b3
mov esi, dword [ebp - 0x9c]
push 0x104
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
cmp edi, 0x104
jbe 0x423542
push edi
lea ecx, [ebp - 0x9c]
call fcn.00422b62
mov esi, dword [ebp - 0x9c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x423558
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403a12
push 0x4a3e3c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.00423379
mov edx, dword [ebp - 0x8c]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.0042344e
push 0x4a3e34
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 3
call fcn.0042344e
add esp, 0x24
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00408fc1
mov edi, 0x10
cmp dword [ebp - 0x50], edi
jb 0x4235cf
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f07
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], edi
jb 0x4235ed
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f07
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x6c], edi
jb 0x42360b
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x423616
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
jne 0x423650
cmp dword [ebp - 0x18], edi
jb 0x423632
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x42364c
push esi
call fcn.00404f07
add esp, 4
xor eax, eax
jmp 0x423695
mov ecx, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x18], edi
jb 0x423675
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x42368f
push esi
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x423f0b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fc46
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
xor eax, eax
mov edi, 7
push 0x49df68
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
call fcn.00403bac
xor ecx, ecx
push 0x13
mov word [ebp - 0x2c], cx
push str.HardwareAccelerated
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
call fcn.00403bac
push 0x35
xor edx, edx
push str.SoftwarekingsoftOffice6.0wppApplication_Settings
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
call fcn.00403bac
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x64]
push 0x80000001
push eax
mov byte [ebp - 4], 2
call fcn.0040f940
add esp, 0x14
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jb 0x423fd4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], ebx
jb 0x423ff1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x70], ebx
jb 0x424015
mov edx, dword [ebp - 0x84]
push edx
call fcn.00404f07
add esp, 4
mov ecx, dword [ebp - 0x54]
push 0x10
push str.AccelerationNone
push ecx
xor eax, eax
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
call fcn.00409d74
test eax, eax
jne 0x424051
cmp dword [ebp - 0x50], ebx
jb 0x42404d
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f07
add esp, 4
xor al, al
jmp 0x424081
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push 0x423e2a
push esi
push esi
mov dword [ebp - 0x68], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x50], ebx
jb 0x42407f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f07
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x425801
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x42586a
lea eax, [ebp - 0x234]
push eax
push esi
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x234], 0x103
pop edi
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
push 0x228
lea ecx, [ebp - 0x22c]
push ebx
push ecx
mov dword [ebp - 0x230], 0x22c
call fcn.00402e70
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4258ab
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4258de
jmp 0x4258c1
cmp dword [ebp - 0x228], edi
je 0x4258dc
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4258c1
jmp 0x4258de
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040330b
mov esp, ebp
pop ebp
ret