joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41be10
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bc26b
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x484], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x49c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4ac]
xor ebx, ebx
mov esi, ecx
cmp ebp, ebx
je 0x41c055
push 0x3ff
lea eax, [esp + 0x9d]
push ebx
push eax
mov byte [esp + 0xa4], bl
call fcn.0049ca10
mov ecx, dword [0x4f9f84]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x18], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov word [esp + 0x95], ax
mov byte [esp + 0x97], al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4a4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x74], ebx
mov ecx, dword [esi]
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x400
lea eax, [esp + 0xa4]
push eax
push ecx
call edi
test eax, eax
jne 0x41bf2b
call fcn.00407290
cmp eax, ebx
jne 0x41c030
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41bf4d
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x20]
call fcn.00457980
add esp, 4
cmp dword [esp + 0x18], ebx
ja 0x41bf02
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x78]
call fcn.00457c20
movzx ecx, byte [esp + 0x87]
movzx edx, byte [esp + 0x86]
movzx eax, byte [esp + 0x85]
push ecx
movzx ecx, byte [esp + 0x88]
push edx
movzx edx, byte [esp + 0x8b]
push eax
movzx eax, byte [esp + 0x8e]
push ecx
movzx ecx, byte [esp + 0x91]
push edx
movzx edx, byte [esp + 0x94]
push eax
movzx eax, byte [esp + 0x97]
push ecx
movzx ecx, byte [esp + 0x9a]
push edx
movzx edx, byte [esp + 0x9d]
push eax
movzx eax, byte [esp + 0xa0]
push ecx
movzx ecx, byte [esp + 0xa3]
push edx
movzx edx, byte [esp + 0xa6]
push eax
movzx eax, byte [esp + 0xa9]
push ecx
movzx ecx, byte [esp + 0xac]
push edx
push eax
push ecx
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
lea edx, [esp + 0x58]
call fcn.00407a00
mov esi, dword [esp + 0x58]
push ebp
push esi
call fcn.00498ec8
add esp, 0x4c
test eax, eax
jne 0x41c034
lea edx, [esi - 0xc]
cmp edx, 0x4f9f74
je 0x41c02c
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c02c
push esi
call fcn.00498b08
add esp, 4
mov al, 1
jmp 0x41c057
mov esi, dword [esp + 0x14]
lea eax, [esi - 0xc]
cmp eax, 0x4f9f74
je 0x41c055
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c055
push esi
call fcn.00498b08
add esp, 4
xor al, al
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x484]
xor ecx, esp
call fcn.00497c58
add esp, 0x494
ret
Function at 0x41c1f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bba2e
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x24]
mov eax, dword [0x4f9f84]
mov dword [edi], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4f9f84]
lea ebp, [edi + 4]
mov dword [ebp], ecx
mov edx, dword [0x4f9f84]
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x1c], 2
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x10], edx
mov edx, dword [esp + 0x38]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
cmp esi, eax
je 0x41c268
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov ebx, eax
mov esi, edi
call fcn.00403650
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x41c27e
xor eax, eax
jmp 0x41c285
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov ebx, eax
mov esi, ebp
call fcn.00403650
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18

Function at 0x41c2b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x10
push esi
rdtsc
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
xor ecx, ecx
xor esi, esi
push 1
sub eax, edx
push esi
sbb ecx, esi
push ecx
push eax
call fcn.004a12a0
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sbb edx, esi
push esi
add eax, ecx
push 0xf4240
adc edx, esi
push edx
push eax
call fcn.004a5ec0
pop esi
add esp, 0x10
ret
Function at 0x41eee0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push str.SoftwareSogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41ef48
mov eax, dword [esp + 4]
test eax, eax
je 0x41ef48
mov ecx, 4
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41ef48
xor eax, eax
add esp, 0x10
ret
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x41ef50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push str.SoftwareSogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41efc1
mov eax, dword [esp]
test eax, eax
je 0x41efc1
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
push 4
lea edx, [esp + 8]
push edx
push 4
push 0
push esi
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x10
ret
Function at 0x420040
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_accept
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4200d2
mov esi, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.fcdlsd
mov edi, 4
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4200c7
cmp dword [esp + 0x14], edi
jne 0x4200c7
mov edi, dword [esp + 0xc]
test esi, esi
je 0x4200bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret
test esi, esi
je 0x4200d2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x421220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc178
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [edi + 0x18]
cmp dword [eax], 0
jne 0x421338
mov eax, dword [edi + 0x10]
test eax, eax
je 0x421338
cmp dword [eax + 4], 0
je 0x421338
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421338
fld dword [esp + 0x2c]
mov edx, dword [edi + 0x14]
fnstcw word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
or eax, 0xc00
mov dword [esp + 0xc], eax
mov dword [edx], 6
mov ecx, dword [edi + 0x14]
fldcw word [esp + 0xc]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x404], eax
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x404]
fldcw word [esp + 0x2c]
call fcn.0040e580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x4fd600]
push eax
push ecx
push 0x800f
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x404]
push ecx
push 0x4ddafc
add eax, 0x408
push 0x40
push eax
call fcn.00497cff
add esp, 0x10
mov ebx, 0x4d6464
lea esi, [esp + 0x2c]
call fcn.004035f0
mov dword [esp + 0x24], 0
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
push edx
mov ecx, esi
call fcn.0040b5e0
call fcn.004035c0
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 0xc
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x422200
Capabilities:
Suspend thread

Disassembly:
push ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x422241
cmp dword [eax + 4], 0
je 0x422241
push eax
call fcn.0040c070
push 1
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x422237
call fcn.0040d7c0
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor eax, eax
pop ecx
ret
Function at 0x423b20
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
lea eax, [esi + 0x24]
push eax
call edi
cmp dword [esi + 0x28], 1
lea eax, [esi + 0x28]
jne 0x423b5c
push 0
push eax
call edi
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x423b52
call fcn.0040d7c0
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
ret
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
ret

Function at 0x423b60
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 8], 0
push ebx
push ebp
push edi
je 0x423b72
mov eax, 0x8000ffff
pop edi
pop ebp
pop ebx
ret
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.0040a190
test eax, eax
jl 0x423c67
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebp
mov dword [esi + 0x40], eax
test eax, eax
jne 0x423bb6
cmp byte [edi + 0x18], al
je 0x423bae
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop ebp
pop ebx
jmp fcn.00407290
push 0
push 0
push 0
push 0
call ebp
mov edi, eax
test edi, edi
jne 0x423be4
call fcn.00407290
mov edi, eax
mov eax, esi
call fcn.00423d50
test eax, eax
jge 0x423bde
test edi, edi
jl 0x423bde
mov edi, eax
mov eax, edi
pop edi
pop ebp
pop ebx
ret
push 0
push 0
push edi
mov eax, esi
call fcn.00423c70
mov ebx, eax
test ebx, ebx
jge 0x423c0a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.00423d50
mov eax, ebx
pop edi
pop ebp
pop ebx
ret
push 0
push 0
push 0
push 0
call ebp
mov edi, eax
test edi, edi
je 0x423bc6
push 0
push 0
push edi
mov eax, esi
call fcn.00423c70
mov ebx, eax
test ebx, ebx
jl 0x423bf6
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x423f50
push 0
push 0
call fcn.00499be7
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x423bc6
mov ecx, dword [esi + 0x40]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x423c65
call fcn.00407290
mov ebx, eax
mov eax, ebx
pop edi
pop ebp
pop ebx
ret

Function at 0x424430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x424440
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x424450
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x424480
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x23c]
mov eax, dword [ebp]
lea edx, [esp + 0x20]
push edx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push ecx
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov edi, eax
cmp edi, ebx
jne 0x4244fd
xor eax, eax
cmp ecx, ebx
je 0x4244e5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
cmp eax, ebx
je 0x42450f
cmp ecx, ebx
je 0x424508
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4245aa
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x424571
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00424480
mov edi, eax
cmp edi, ebx
jne 0x4245c5
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
push edx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x424537
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x424584
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
push eax
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4245a8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00497c58
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4245d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4245aa
Function at 0x424aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4bc0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x424b1f
call fcn.00407290
mov esi, eax
jmp 0x424c01
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x424b3b
call fcn.00407290
jmp 0x424bf8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x424b54
call fcn.00407290
jmp 0x424bf8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x424b88
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x424b76
lea eax, [ebp]
call fcn.00428050
lea esi, [ebp - 0x1c]
call fcn.00427a90
mov eax, 0x8007000e
jmp 0x424c13
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00427b70
mov dword [ebp - 4], 1
jmp 0x424bb1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x424bbf
mov esi, 0x8007000e
jmp 0x424bfa
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x424bdd
call fcn.00407290
jmp 0x424bf8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00425900
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x424c11
lea eax, [ebp]
call fcn.00428050
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00497c58
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4273b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4baeb8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x3c]
push ecx
mov dword [esp + 0x18], ebx
call fcn.00427f60
mov dword [esi + 0x34], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x38], vtable.WTL::CIdleHandler.0
lea eax, [esi + 0x58]
mov dword [esi], vtable.CMainFrame.0
mov dword [esi + 0x34], vtable.CMainFrame.1.0
mov dword [esi + 0x38], vtable.CMainFrame.2.0
call fcn.00427540
mov dword [esi + 0x6b0], ebx
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x6b4], eax
mov dword [esi + 0x6b8], eax
mov dword [esi + 0x6bc], eax
mov dword [esi + 0x6c0], eax
mov dword [esi + 0x6c4], eax
mov dword [esi + 0x6c8], eax
mov dword [esi + 0x6cc], ebx
mov dword [esi + 0x6d4], ebx
mov dword [esi + 0x6d8], ebx
mov dword [esi + 0x6dc], ebx
mov dword [esi + 0x6e0], ebx
mov dword [esi + 0x6fc], ebx
mov dword [esi + 0x700], eax
mov dword [esi + 0x704], eax
mov dword [esi + 0x708], eax
mov dword [esi + 0x70c], eax
mov dword [esi + 0x710], eax
mov dword [esi + 0x714], eax
push esi
lea eax, [esi + 0x720]
mov dword [esi + 0x71c], edx
call fcn.004270c0
mov dword [esi + 0x7c8], ebx
mov eax, dword [0x4f9f84]
mov dword [esi + 0x7cc], eax
or eax, 0xffffffff
mov dword [esi + 0x7ec], eax
mov dword [esi + 0x7f0], eax
mov dword [esi + 0x7f4], eax
mov dword [esi + 0x7f8], eax
mov dword [esi + 0x7fc], eax
mov dword [esi + 0x800], eax
mov dword [esi + 0x804], eax
mov dword [esi + 0x7d0], ebx
mov dword [esi + 0x7d4], ebx
mov dword [esi + 0x7d8], ebx
mov dword [esi + 0x7dc], ebx
mov dword [esi + 0x7e0], ebx
mov dword [esi + 0x7e4], ebx
mov byte [esi + 0x7e8], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x429360
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov bl, byte [esp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test bl, 2
je 0x429379
mov eax, dword [edi + 0x3c]
push 5
push eax
jmp 0x42937f
mov ecx, dword [edi + 0x3c]
push 0
push ecx
call esi
test bl, 8
je 0x42938e
mov edx, dword [edi + 0x40]
push 5
push edx
jmp 0x429394
mov eax, dword [edi + 0x40]
push 0
push eax
call esi
test bl, 0x12
je 0x4293ab
mov ecx, dword [edi + 0x9c]
push 5
push ecx
call esi
pop esi
pop ebx
ret 4
mov edx, dword [edi + 0x9c]
push 0
push edx
call esi
pop esi
pop ebx
ret 4
Function at 0x429cb0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x70
push ebx
push ebp
xor eax, eax
xor ecx, ecx
push edi
test edx, edx
je 0x429cc3
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push 2
push ecx
push eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x58], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x429d18
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esi + 0xc], edi
jmp 0x429d85
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebp, eax
call edi
xor edx, edx
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], edx
push edx
mov dword [esi + 8], ebp
push str.Shell_TrayWnd
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x429d85
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
call fcn.0044c840
cmp byte [eax + 0x964], 0
je 0x429dfc
xor eax, eax
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0044c840
mov edx, dword [eax + 0x994]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x998]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x99c]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x9a0]
push esi
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x38], eax
call ebx
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x429dfc
mov dword [esi + 0xc], eax
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x42ab80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bdb10
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x42abbb
mov eax, dword [edi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ac21
shr eax, 4
not al
and al, 1
je 0x42ac21
mov eax, dword [ebp + 8]
push edi
push esi
push eax
call fcn.0042ac40
test al, al
jne 0x42ac21
mov ecx, esi
call fcn.00447720
push 0x4de5c0
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
push esi
call fcn.00446b20
test al, al
jne 0x42ac1a
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00447770
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x42b350
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bdaf0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push 0x4de60c
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0
call fcn.0049b87e
add esp, 0xc
test eax, eax
jne 0x42b428
mov eax, dword [esp + 4]
test eax, eax
je 0x42b428
mov edx, dword [esp + 0x1c]
push eax
push 1
push 4
push edx
call fcn.0049bb71
add esp, 0x10
cmp eax, 1
je 0x42b3c9
mov ecx, esi
call fcn.00447720
push 0x4de624
jmp 0x42b434
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
push eax
push 1
push 4
push ecx
call fcn.0049bb71
add esp, 0x10
cmp eax, 1
je 0x42b409
push 0x4de63c
mov ecx, esi
call fcn.004032e0
mov ecx, esi
call fcn.00447a00
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
mov edx, dword [esp + 4]
push edx
call fcn.0049b083
add esp, 4
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
mov ecx, esi
call fcn.00447720
push 0x4de610
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret