joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401550
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x144
mov dword [ebp - 0x124], 0xa
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x116]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
movsx ebx, byte [ebp - 0x116]
lea eax, [ebp - 0x120]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub ebx, 0x41
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4015c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.00401550
mov dword [esp], 0x40169c
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x4020fe
sub eax, 0x40169c
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401665
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.00401463
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.004014c4
mov cl, bl
mov dword [esp + 8], esi
lea eax, [ebx + 0x1b800]
sar eax, cl
mov ecx, 0x40300c
shl ebx, cl
mov dword [esp + 4], eax
add ebx, ecx
mov dword [esp], ebx
call fcn.00401e01
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x405e71
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x41d000]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.00405da7
cmp eax, esi
jne 0x405ef9
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x405ec2
lea eax, [ebp - 0x70]
push eax
call fcn.00405e71
cmp eax, esi
jne 0x405ef8
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x405eb5
call fcn.00405d90
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.00405d90
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.0041476c
add ebp, 0x94
leave
ret 4
Function at 0x40631f
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40632a
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40b08e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x41c280], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x40b0d2
call ebx
test eax, eax
jns 0x40b0c8
push 0x401f20
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x401f14
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x41c27c], eax
mov dword [0x41c280], 1
mov eax, dword [0x41c27c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x40b0ee
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x40b11e
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x40b114
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x40b108
push dword [eax + 8]
call dword [eax]
jmp 0x40b10e
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x40b11d
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x413d94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x41d000]
push ebx
push esi
mov dword [ebp + 0x194], eax
lea eax, [ebp - 0x7c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x4027d8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], ebx
xor esi, esi
mov dword [ebp - 0x80], 0x208
mov word [ebp - 0x78], bx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x40295c
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x7c], ebx
je 0x413e01
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x413e26
cmp eax, 0x208
ja 0x413e26
shr eax, 1
mov esi, eax
je 0x413e26
lea eax, [ebp + esi*2 - 0x7a]
cmp word [eax], 0x5c
je 0x413e26
dec esi
dec eax
dec eax
cmp esi, ebx
jne 0x413e19
mov edx, dword [ebp + 0x1a0]
lea ecx, [ebp - 0x78]
mov word [ebp + esi*2 - 0x78], bx
call fcn.00413d10
mov ecx, dword [ebp + 0x194]
pop esi
pop ebx
call fcn.0041476c
add ebp, 0x198
leave
ret 4
Function at 0x41476c
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x41d000]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.0041476c
pop edi
add ebp, 0x2a8
leave
ret
cmp ecx, dword [0x41d000]
jne 0x414644
ret

Function at 0x41484e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push 0x4029f8
push SysReAllocStringLen
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x4148ed
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x4148df
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x4029e0
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4148df
cmp dword [ebp + 8], esi
jne 0x4148df
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x4148df
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4148d1
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x4148db
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x4148fd
cmp dword [ebp - 4], ebx
je 0x4148ed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x4148fb
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x401170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401188
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011ba
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4011b6
cmp esi, eax
jae 0x4011ba
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011a8
cmp esi, eax
jb 0x4011c0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x409ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [edi + 4], esi
call fcn.00411e9f
push esi
push 0
push eax
mov dword [edi + 8], eax
call fcn.00429d10
mov eax, dword [edi + 8]
push esi
push 0
push eax
mov dword [edi], vtable.Doom::SendFilePartPacket.0
call fcn.00429d10
push ebx
call fcn.00428957
push 2
push 0
push 0
push ebx
mov dword [ebp - 4], eax
call fcn.00428b1e
push ebx
call fcn.00428957
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
push ebx
mov dword [ebp - 8], eax
call fcn.00428b1e
mov eax, dword [ebp - 8]
add esp, 0x44
cmp eax, esi
jae 0x409b38
sub eax, dword [ebp - 4]
jmp 0x409b3a
mov eax, esi
mov edx, dword [edi + 8]
push ebx
push eax
push 1
push edx
call fcn.00428e8e
add esp, 0x10
mov eax, edi
mov esp, ebp
pop ebp
ret
Function at 0x40cd80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [edi + 8], 0xffffffff
push esi
jne 0x40cd9f
mov esi, str.CM_ASSERT_IsOpen____failed__KRComm_137__
call fcn.0040cf50
test al, al
je 0x40ce65
cmp dword [ebp + 0xc], 0
je 0x40ce65
mov ecx, dword [edi + 8]
push 0
lea eax, [ebp - 8]
push eax
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
je 0x40cdd6
cmp dword [ebp - 8], 0
jbe 0x40cdd6
mov edx, dword [edi + 8]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
test byte [edi + 4], 1
push ebx
je 0x40ce5a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ebx, [edi + 0xd8]
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40ce20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x40ce20
mov esi, str.CM_ASSERT_::GetLastError____ERROR_IO_PENDING__failed__KRComm_149__
call fcn.0040cf50
test al, al
jne 0x40ce20
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x40ce3b
mov esi, str.CM_ASSERT_::GetLastError____ERROR_IO_PENDING__failed__KRComm_152__
call fcn.0040cf50
test al, al
je 0x40ce5a
mov edx, dword [edi + 8]
push 1
lea ecx, [ebp + 0xc]
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40df90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
xor esi, esi
test edi, edi
je 0x40e023
push 2
push esi
push esi
push edi
call fcn.00428b1e
push edi
call fcn.00428957
push edi
mov esi, eax
call fcn.004289c4
push esi
call fcn.00411e9f
push esi
mov ebx, eax
push 0
push ebx
call fcn.00429d10
push edi
push esi
push 1
push ebx
call fcn.00428e8e
add esp, 0x38
test eax, eax
jle 0x40e032
push edi
call fcn.004289c4
push 0x28
call fcn.004284dd
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x40e00f
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
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
jmp 0x40e011
xor eax, eax
push ebx
push eax
mov esi, eax
call fcn.00410eb0
push ebx
call fcn.004283e2
add esp, 4
cmp byte [ebp + 0xc], 0
je 0x40e04e
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_read_PIT_file._n
call fcn.0040fe60
push ebx
call fcn.004283e2
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
call fcn.0040ac10
mov ebx, dword [ebp - 4]
xor edi, edi
cmp ebx, edi
jne 0x40e07a
push str.Failed_to_download_PIT_file__n
call fcn.0040fe60
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
je 0x40e045
push 0x28
call fcn.004284dd
add esp, 4
cmp eax, edi
je 0x40e0aa
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
xor edx, edx
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov edi, eax
push ebx
push edi
mov dword [ebp - 4], edi
call fcn.00410eb0
push ebx
call fcn.004283e2
add esp, 4
test esi, esi
je 0x40e0f4
mov eax, esi
mov ecx, edi
call fcn.00411830
mov bl, al
call fcn.00410e50
push esi
call fcn.00427a0a
add esp, 4
test bl, bl
jne 0x40e0f4
push str.Flash_aborted__n
call fcn.0040fe60
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4131b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor eax, eax
cmp ecx, edx
je 0x4131e1
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movzx edi, word [ecx]
lea esi, [esi + edi - 0x61c88647]
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x4131c0
pop edi
pop esi
ret
Function at 0x426640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x43f1af
mov dword [esp], eax
mov dword [esp + 4], 0x43f5a8
mov dword [esp + 8], 0x43f5a4
mov dword [esp + 0xc], 0x43f5a0
mov dword [esp + 0x10], 0x43f59c
mov dword [esp + 0x14], 0x43f598
mov dword [esp + 0x18], 0x43f594
mov dword [esp + 0x1c], 0x43f590
mov dword [esp + 0x20], 0x43f58c
mov dword [esp + 0x24], 0x43f588
mov dword [esp + 0x28], 0x43f584
mov dword [esp + 0x2c], 0x43f580
mov dword [esp + 0x30], 0x43f57c
mov dword [esp + 0x34], 0x43f578
mov dword [esp + 0x38], 0x441e58
mov dword [esp + 0x3c], 0x43f574
mov dword [esp + 0x40], str.___.___
mov dword [esp + 0x44], 0x43f564
mov dword [esp + 0x48], 0x43f250
mov dword [esp + 0x4c], 0x43f318
mov dword [esp + 0x50], 0x43f560
mov dword [esp + 0x54], 0x43f55c
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x43f558
mov dword [esp + 0x64], 0x43f554
mov dword [esp + 0x68], 0x441e84
mov dword [esp + 0x6c], 0x43f550
mov dword [esp + 0x70], 0x43f254
mov dword [esp + 0x74], 0x43f240
mov dword [esp + 0x78], 0x43f220
mov dword [esp + 0x7c], 0x43f210
mov dword [esp + 0x80], 0x43f20c
mov dword [esp + 0x84], 0x43f204
mov dword [esp + 0x88], 0x43f1fc
mov dword [esp + 0x8c], 0x43f24c
mov dword [esp + 0x90], 0x43f54c
mov dword [esp + 0x94], 0x43f548
mov dword [esp + 0x98], 0x43f244
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x43f30c
mov dword [esp + 0xc0], 0x43f2dc
mov dword [esp + 0xc4], 0x43f2c0
mov dword [esp + 0xc8], 0x43f314
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHGFEDCBA
mov dword [esp + 0xd0], 0x43f304
mov dword [esp + 0xd4], str._:___
mov dword [esp + 0xd8], 0x43f218
mov dword [esp + 0xdc], 0x43f2e0
mov dword [esp + 0xe0], 0x43f2e8
mov dword [esp + 0xe4], 0x43f23c
mov dword [esp + 0xe8], 0x43f2f4
mov dword [esp + 0xec], 0x43f2d8
cmp cl, 0x3c
jae 0x42685d
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x426890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x9c
mov eax, dword [0x449d40]
xor eax, esp
mov dword [esp + 0x98], eax
mov edx, 0x361
mov dword [esp], 0x3610300
mov dword [esp + 4], 0x4860483
mov dword [esp + 8], 0x9030903
mov dword [esp + 0xc], 0x940093e
mov dword [esp + 0x10], 0x94c0949
mov dword [esp + 0x14], 0x9830982
mov dword [esp + 0x18], 0x9c009be
mov dword [esp + 0x1c], 0x9cc09c7
mov dword [esp + 0x20], 0x9d709d7
mov dword [esp + 0x24], 0xa400a3e
mov dword [esp + 0x28], 0xa830a83
mov dword [esp + 0x2c], 0xac00abe
mov dword [esp + 0x30], 0xacc0ac9
mov dword [esp + 0x34], 0xb030b02
mov dword [esp + 0x38], 0xb3e0b3e
mov dword [esp + 0x3c], 0xb400b40
mov dword [esp + 0x40], 0xb4c0b47
mov dword [esp + 0x44], 0xb570b57
mov dword [esp + 0x48], 0xb830b83
mov dword [esp + 0x4c], 0xbbf0bbe
mov dword [esp + 0x50], 0xbcc0bc1
mov dword [esp + 0x54], 0xbd70bd7
mov dword [esp + 0x58], 0xc030c01
mov dword [esp + 0x5c], 0xc440c41
mov dword [esp + 0x60], 0xc830c82
mov dword [esp + 0x64], 0xcbe0cbe
mov dword [esp + 0x68], 0xcc40cc0
mov dword [esp + 0x6c], 0xccb0cc7
mov dword [esp + 0x70], 0xcd60cd5
mov dword [esp + 0x74], 0xd030d02
mov dword [esp + 0x78], 0xd400d3e
mov dword [esp + 0x7c], 0xd4c0d46
mov dword [esp + 0x80], 0xd570d57
mov dword [esp + 0x84], 0xf7f0f7f
mov dword [esp + 0x88], 0x20e120d0
mov dword [esp + 0x8c], 0x309a3099
mov dword [esp + 0x90], 0xfe23fe20
mov dword [esp + 0x94], 0xffffffff
lea eax, [esp + 2]
cmp dx, cx
jae 0x4269fb
add eax, 4
cmp word [eax], cx
jb 0x4269f3
sub eax, 2
cmp cx, word [eax]
jb 0x426a20
cmp cx, word [eax + 2]
ja 0x426a20
mov al, 1
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00427a15
add esp, 0x9c
ret
mov ecx, dword [esp + 0x98]
xor ecx, esp
xor al, al
call fcn.00427a15
add esp, 0x9c
ret

Function at 0x427a15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449d40]
jne 0x427a1f
repz ret
jmp fcn.0042a754

Function at 0x42f727
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42f74e
call fcn.0042985b
mov dword [eax], esi
call fcn.00429848
push 0x16
pop esi
mov dword [eax], esi
call fcn.0042a9e4
mov eax, esi
jmp 0x42f7a3
test dword [ebp + 0xc], 0xfffffff9
jne 0x42f734
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42f77b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042986e
pop ecx
call fcn.00429848
mov eax, dword [eax]
jmp 0x42f7a3
test al, 0x10
jne 0x42f7a1
test al, 1
je 0x42f7a1
test byte [ebp + 0xc], 2
je 0x42f7a1
call fcn.0042985b
mov dword [eax], 5
call fcn.00429848
mov dword [eax], 0xd
jmp 0x42f772
xor eax, eax
pop esi
pop ebp
ret
Function at 0x433bec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x449d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042b6ab
and dword [ebp - 0x14], 0
cmp dword [0x44beec], 0
mov dword [ebp - 0x18], eax
jne 0x433c9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433d47
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433d47
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44beec], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44bef0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44bef4], eax
call edi
push eax
call esi
mov dword [0x44befc], eax
test eax, eax
je 0x433c9f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44bef8], eax
mov eax, dword [0x44bef8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x433cf8
cmp dword [0x44befc], ecx
je 0x433cf8
push eax
call esi
push dword [0x44befc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x433cf8
test ebx, ebx
je 0x433cf8
call edi
test eax, eax
je 0x433cef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x433cef
test byte [ebp - 8], 1
jne 0x433cf8
or dword [ebp + 0x10], 0x200000
jmp 0x433d2b
mov eax, dword [0x44bef0]
cmp eax, dword [ebp - 0x18]
je 0x433d2b
push eax
call esi
test eax, eax
je 0x433d2b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433d2b
mov eax, dword [0x44bef4]
cmp eax, dword [ebp - 0x18]
je 0x433d2b
push eax
call esi
test eax, eax
je 0x433d2b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44beec]
call esi
test eax, eax
je 0x433d47
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433d49
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427a15
leave
ret

Function at 0x43672c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x5d880c4d]
invalid
invalid
pop ebp

Function at 0x436a92
Capabilities:
Inspect section memory permissions

Disassembly:
pop ecx
add eax, esi
cmp dword [eax], ebx
je 0x436aec
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x436ae7
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x436ad1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x436ad9
cmp edx, ebx
jne 0x436c27
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x436aa8
add eax, dword [eax + 4]
jmp 0x436a95
mov dword [ebp + 0xc], ebx
jmp 0x436af7