joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c30
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x460028
push eax
mov eax, dword [esp + 0x30]
mov dword fs:[0], esp
push ebx
push esi
mov ecx, dword [eax]
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x40]
mov dx, word [eax + 4]
push esi
push 0
push edi
mov dword [esp + 0x40], ecx
mov word [esp + 0x44], dx
call fcn.00403bf0
add esp, 0xc
cmp esi, 0x34f
jle 0x403c7c
mov esi, 0x34f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2e]
push 0x10
push eax
push 0
push esi
push edi
push ecx
call sub.WSOCK32.dll_sendto
push esi
push 0
push edi
mov ebx, eax
call fcn.00403bf0
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x403cf0
mov edx, dword [0x47d0a4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x40]
push 0x47c130
push eax
call fcn.00435348
add esp, 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.0043f69a
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x403d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x460053
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
call fcn.0040a460
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 1
call fcn.00438ec9
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], 0x464fa8
mov dword [esi + 0x50], edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 4
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 8], 0x12
mov dword [esi + 0xc], 0x1a
mov dword [esi + 0x18], 0x19
mov dword [esi + 0x54], 1
mov dword [esi + 0x10], 0x1e
mov dword [esi + 0x2c], 0xb46e00
call edi
push 4
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], 0xb4dc00
call edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405a50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4602e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x405afa
mov eax, dword [0x47d0a4]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0043faca
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0043fb19
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0043fa76
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x405ae1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x405ae1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x54], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043f69a
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x406e30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
sub eax, edx
test ax, ax
je 0x406e62
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, edx
and ecx, 0xffff
add ecx, esi
mov bl, byte [ecx]
xor bl, al
add eax, 0xffff
inc edx
mov byte [ecx], bl
test ax, ax
jne 0x406e45
pop esi
pop ebx
ret 0xc

Function at 0x406e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [str.saming.net]
mov edx, dword [0x47c288]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ax, word [0x47c28c]
mov esi, ecx
mov word [ebp - 8], ax
mov dword [ebp - 0xc], edx
xor eax, eax
mov cl, byte [esi + 0x567]
mov dl, byte [ebp + eax - 0x10]
xor dl, cl
mov byte [ebp + eax - 0x10], dl
inc eax
cmp eax, 0xa
jl 0x406ebd
mov al, 0xaa
xor edx, edx
sub al, cl
shr al, 4
mov byte [ebp - 2], al
xor eax, eax
mov cl, byte [ebp + edx - 0x10]
mov bl, byte [eax + esi + 8]
xor cl, bl
mov byte [ebp - 1], cl
push cx
mov cl, byte [ebp - 2]
rol byte [ebp - 1], cl
pop cx
mov cl, byte [ebp - 1]
cmp edx, 9
mov byte [eax + esi + 8], cl
jl 0x406f02
xor edx, edx
jmp 0x406f03
inc edx
inc eax
cmp eax, 0x55f
jb 0x406edb
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [str.saming.net]
mov edx, dword [0x47c288]
push esi
push edi
mov dword [ebp - 0x10], eax
mov ax, word [0x47c28c]
mov edi, ecx
mov word [ebp - 8], ax
mov dword [ebp - 0xc], edx
xor eax, eax
mov cl, byte [edi + 0x567]
mov dl, byte [ebp + eax - 0x10]
xor dl, cl
mov byte [ebp + eax - 0x10], dl
inc eax
cmp eax, 0xa
jl 0x406f4d
mov dl, 0xaa
xor esi, esi
sub dl, cl
shr dl, 4
mov byte [ebp - 2], dl
xor edx, edx
mov al, byte [edx + edi + 8]
mov byte [ebp - 1], al
push cx
mov cl, byte [ebp - 2]
ror byte [ebp - 1], cl
pop cx
mov al, byte [ebp - 1]
mov cl, byte [ebp + esi - 0x10]
xor al, cl
cmp esi, 9
mov byte [edx + edi + 8], al
jl 0x406f92
xor esi, esi
jmp 0x406f93
inc esi
inc edx
cmp edx, 0x55f
jb 0x406f6b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c340
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push edi
xor ebx, ebx
push str.HAVEONE_YXF_GUARDS
push 1
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call edi
cmp eax, 0xb7
jne 0x40c36c
mov ebx, 1
push str.DOONE_ZH
push 1
push 0
call esi
mov esi, eax
call edi
cmp eax, 0xb7
jne 0x40c387
mov ebx, 1
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebp, ebp
je 0x40c394
push ebp
call edi
test esi, esi
je 0x40c39b
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret

Function at 0x40c620
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x460fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], edi
call fcn.00414801
mov eax, dword [0x47d0a4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x54]
mov bl, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call fcn.0043f7d3
push str..
lea ecx, [esp + 0x14]
call fcn.0043fa76
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x30]
call fcn.004148c4
cmp eax, edi
je 0x40c757
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test edi, edi
jne 0x40c757
lea ecx, [esp + 0x28]
call fcn.00414ae4
mov esi, eax
test esi, esi
jne 0x40c6b7
mov edi, 1
lea ecx, [esp + 0x28]
call fcn.00414aab
test eax, eax
jne 0x40c74f
mov edx, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [edx + 0x38]
test eax, eax
je 0x40c71e
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00414bb3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 5
call fcn.0043f7d3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], bl
call fcn.0043f69a
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0043f40f
call fcn.0040c620
add esp, 4
jmp 0x40c74f
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
call fcn.00414bb3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 6
call fcn.0043f7d3
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], bl
call fcn.0043f69a
mov ecx, dword [esp + 0x18]
push ecx
call ebp
test esi, esi
jne 0x40c69b
lea ecx, [esp + 0x28]
call fcn.0041487a
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.0043f69a
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call fcn.0043f69a
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.0043f69a
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 0
call fcn.0041483e
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043f69a
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret
Function at 0x40cd00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x461068
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
jne 0x40cd94
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
push eax
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esi], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], 0
jne 0x40cd94
mov esi, dword [esp + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043f69a
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043f69a
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x40d3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46116a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x134]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x12c], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xff
mov edi, ebx
call fcn.0043f40f
mov ecx, esi
call fcn.0040cd00
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x40d452
cmp eax, 2
je 0x40d452
cmp eax, 7
je 0x40d452
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.0043f40f
mov dword [esp + 0xc], ebx
jmp 0x40d4f4
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esi], eax
je 0x40d48a
mov esi, dword [esp + 0x12c]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.0043f40f
jmp 0x40d4f0
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x134]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [esi], eax
je 0x40d4b6
xor edi, edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x40d4dd
mov esi, dword [esp + 0x12c]
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call fcn.0043f40f
jmp 0x40d4f0
mov esi, dword [esp + 0x12c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0043f708
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x130]
mov byte [esp + 0x124], bl
call fcn.0043f69a
lea ecx, [esp + 0x134]
mov byte [esp + 0x124], 0
call fcn.0043f69a
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 0xc
Function at 0x40dd90
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4612d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push edi
mov ebp, ecx
mov dword [esp + 0x118], 0
mov edi, dword [esp + 0x124]
mov ebx, 1
cmp dword [edi - 8], 0xfe
jg 0x40de11
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
mov edx, dword [ebp + 4]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
je 0x40de40
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 0
call fcn.0043f69a
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call fcn.0043f69a
xor eax, eax
jmp 0x40deba
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x124]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40de70
xor ebx, ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40de82
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 0
call fcn.0043f69a
lea ecx, [esp + 0x124]
mov dword [esp + 0x118], 0xffffffff
call fcn.0043f69a
mov eax, ebx
mov ecx, dword [esp + 0x110]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8
Function at 0x40e750
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x461441
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebp
push edi
mov edi, dword [esp + 0x130]
mov ebp, ecx
test edi, edi
je 0x40e8ad
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40e8ad
mov ecx, dword [ebp + 4]
lea eax, [esp + 0xc]
push eax
push 0x10008
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e8b2
push esi
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x30]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0x103
je 0x40e890
test esi, esi
jne 0x40e89d
push edi
lea ecx, [esp + 0x1c]
call fcn.0043f708
push 0x47c4c4
lea edx, [esp + 0x20]
push eax
push edx
mov dword [esp + 0x138], esi
call fcn.0043f92f
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x138], 1
call fcn.0043f92f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 4
call fcn.0043f69a
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 3
call fcn.0043f69a
push esi
lea ecx, [esp + 0x10]
call fcn.0043faca
push eax
mov ecx, ebp
call fcn.0040e750
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0043fb19
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0043f69a
test esi, esi
je 0x40e7ad
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x40e8b2
mov eax, dword [ebp + 4]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x40e8b2
mov eax, 0x3f2
mov ecx, dword [esp + 0x120]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x124
ret 4
Function at 0x427b12
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x47ef30
cmp edx, dword [eax]
je 0x427b34
add eax, 8
inc ecx
cmp eax, 0x47efc0
jl 0x427b25
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x47ef30]
jne 0x427c62
mov eax, dword [0x4827d4]
cmp eax, 1
je 0x427c3c
test eax, eax
jne 0x427b65
cmp dword [0x47e5a4], 1
je 0x427c3c
cmp edx, 0xfc
je 0x427c62
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x427b9c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00427120
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00426f60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427bdf
lea eax, [ebp - 0x1a4]
push eax
call fcn.00426f60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46c724
push edi
call fcn.0042d020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00427120
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00427130
lea eax, [ebp - 0xa0]
push 0x46c704
push eax
call fcn.00427130
push dword [esi + 0x47ef34]
lea eax, [ebp - 0xa0]
push eax
call fcn.00427130
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042cf96
add esp, 0x2c
pop edi
jmp 0x427c62
lea eax, [ebp + 8]
lea esi, [esi + 0x47ef34]
push 0
push eax
push dword [esi]
call fcn.00426f60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x434200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00420620
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4342cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4342cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43427e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x434289
or bh, 8
and edi, 0x8000000
je 0x4342a4
mov eax, dword [0x483f5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4342cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4346a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4346cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4346ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x43470a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x43aa02
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43aa24
cmp dword [edi + 0x3c], 0
jne 0x43aa24
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00453b40
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043aa63
pop edi
pop esi
pop ebx
ret 8

Function at 0x43aac7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00453b40
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43aaf8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0043ab1d
pop edi
pop esi
pop ebx
ret 8

Function at 0x43c19f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43c1d7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043fb41
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043fb19
jmp 0x43c1e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x43dfa1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43dfe3
call fcn.00453b40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43dfe3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43dfda
xor eax, eax
jmp 0x43dfeb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043dff1
pop edi
pop esi
pop ebx
ret 4
Function at 0x401100
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a6f0
push 0x41788c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret