joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416120
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0x170
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp + 0xec], eax
push ebx
push esi
push edi
xor edi, edi
push 0x110
lea eax, [ebp - 0x68]
push edi
push eax
mov dword [ebp - 0x80], edi
xor ebx, ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x6c], 0x114
call fcn.00439d90
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41621f
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41621f
cmp dword [ebp - 0x68], 6
jb 0x4161d0
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x78]
push eax
push 4
lea eax, [ebp - 0x7c]
push eax
push 0x12
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x41621f
cmp dword [ebp - 0x7c], 3
jne 0x4161d0
lea eax, [ebp - 0x78]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push 0x13
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x41621f
cmp dword [ebp - 0x70], edi
jne 0x4161e8
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41621f
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xa8]
push eax
push edi
push 0x1a
mov dword [ebp - 0x78], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x41621f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xa8]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x416227
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x74], edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41623a
push dword [ebp - 0x74]
call esi
mov dword [ebp - 0x74], edi
cmp dword [ebp - 0x70], edi
je 0x416247
push dword [ebp - 0x70]
call esi
mov dword [ebp - 0x70], edi
cmp ebx, edi
je 0x41625c
push 0x4764b0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], ebx
call fcn.0043d876
mov ecx, dword [ebp + 0xec]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436e5a
add ebp, 0xf0
leave
ret

Function at 0x416983
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
xor eax, eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push 0x400
push dword [esi + 0x54]
push eax
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x50]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov edi, eax
push dword [esi + 0x54]
push str.CustomURLProtocol::Failed_with_error__d:__s
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, eax
shr ecx, 1
call fcn.004168bf
add esp, 0xc
push edi
add esi, 0x58
push esi
call fcn.00416d1d
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
pop edi
pop esi
leave
ret
Function at 0x416c56
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
push ebx
lea ebx, [esi + 4]
jb 0x416c6c
mov eax, dword [ebx]
jmp 0x416c6e
mov eax, ebx
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [esi + 0x54], eax
jne 0x416d0a
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.DefaultIcon
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x416d09
push str.ShellOpencommand
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x416d09
push str.ShellOpen
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x416d09
push str.Shell
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x416d09
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
je 0x416d09
cmp dword [esi + 0x18], 8
jb 0x416cfe
mov ebx, dword [ebx]
push ebx
push SysReAllocString
call edi
mov dword [esi + 0x54], eax
pop edi
cmp dword [esi + 0x54], 0
pop ebx
je 0x416d18
mov eax, esi
call fcn.00416983
mov eax, dword [esi + 0x54]
leave
ret
Function at 0x417b31
Capabilities:
Accept command line arguments

Disassembly:
push 0xc
mov eax, 0x459e2b
call fcn.0043d49a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [0x481070], 1
jle 0x417b78
push eax
lea ecx, [ebp - 0x10]
call fcn.00402eee
and dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00403172
call fcn.00417b7e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
call fcn.0043d572
ret

Function at 0x41daa3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41dae9
call fcn.00427aaa
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41dae9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41db2c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41db15
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41db15
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41db29
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x424b7d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x424bb6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041ba9a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041a064
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42668e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4266d1
call fcn.00427aaa
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4266d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4266ec
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00426248
test ebx, ebx
mov esi, eax
je 0x4266ea
test edi, edi
je 0x4266ea
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x429a1b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x429a49
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x429a67
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00429985
jmp 0x429a67
mov eax, dword [esi + 0x14]
test eax, eax
je 0x429a67
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00429985
test edi, edi
mov eax, edi
jne 0x429a51
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x480fc0]
test ecx, ecx
je 0x429b2a
jmp 0x429a1a
ret 8

Function at 0x436e5a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47d9a0]
jne 0x436e64
repz ret
jmp fcn.0043f7b0

Function at 0x438af0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x438b1d
call fcn.00438fe8
mov dword [eax], esi
call fcn.00438fd5
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043b329
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x438b3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00438ffb
pop ecx
jmp 0x438b18
test byte [esp + 0xc], 0x80
je 0x438b47
and eax, 0xfffffffe
jmp 0x438b4a
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x438b2c
xor eax, eax
pop esi
ret
Function at 0x44adf6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043f197
xor ebx, ebx
cmp dword [0x481bf4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44aecb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44ae36
xor eax, eax
jmp 0x44af8f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44ae2f
push eax
call fcn.0043f134
mov dword [esp], 0x460ca8
push edi
mov dword [0x481bf4], eax
call esi
push eax
call fcn.0043f134
mov dword [esp], 0x460c94
push edi
mov dword [0x481bf8], eax
call esi
push eax
call fcn.0043f134
mov dword [0x481bfc], eax
lea eax, [ebp - 8]
push eax
call fcn.00437820
test eax, eax
pop ecx
pop ecx
je 0x44ae99
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b22d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44aecb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043f134
cmp eax, ebx
pop ecx
mov dword [0x481c04], eax
je 0x44aecb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043f134
pop ecx
mov dword [0x481c00], eax
mov eax, dword [0x481c00]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44af44
cmp dword [0x481c04], esi
je 0x44af44
push eax
call fcn.0043f1a0
pop ecx
call eax
cmp eax, ebx
je 0x44af11
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x481c04]
call fcn.0043f1a0
pop ecx
call eax
test eax, eax
je 0x44af11
test byte [ebp - 0x18], 1
jne 0x44af44
lea eax, [ebp - 0xc]
push eax
call fcn.00437857
test eax, eax
pop ecx
je 0x44af2c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b22d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44af3b
or dword [ebp + 0x10], 0x200000
jmp 0x44af75
or dword [ebp + 0x10], 0x40000
jmp 0x44af75
mov eax, dword [0x481bf8]
cmp eax, esi
je 0x44af75
push eax
call fcn.0043f1a0
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44af75
mov eax, dword [0x481bfc]
cmp eax, esi
je 0x44af75
push dword [ebp - 4]
push eax
call fcn.0043f1a0
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x481bf4]
call fcn.0043f1a0
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453486
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045341b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00439d90
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4534d5
cmp dword [ebp - 0x1c], 5
jb 0x4534ed
jmp 0x4534e9
cmp dword [ebp - 0x10], 1
jne 0x4534ed
cmp dword [ebp - 0x1c], 4
ja 0x4534e9
jne 0x4534ed
cmp dword [ebp - 0x18], 0
jbe 0x4534ed
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x462d9c
call fcn.0045330c
test eax, eax
jge 0x45350e
mov byte [0x481e93], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00436e5a
add ebp, 0x78
leave
ret
Function at 0x406ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x406f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x406fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x406f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x406fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x406fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [0x6390f4]
push eax
call dword [0x639088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00407590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x421fd0
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_strlen]
push esi
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
movzx edi, dx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
mov dword [ebp - 4], edi
xor esi, esi
call ebx
add esp, 8
test eax, eax
je 0x4220d7
mov edi, dword [ebp + 8]
nop
mov al, byte [esi + str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30]
mov cl, byte [esi + 0x435001]
add esi, 3
cmp al, 0x3f
je 0x4220af
cmp cl, 0x3f
je 0x4220af
lea edx, [eax - 0x30]
mov dword [ebp - 0xc], 0
cmp dl, 9
ja 0x422047
cbw
sub ax, 0x30
jmp 0x422065
lea edx, [eax - 0x61]
cmp dl, 0x19
ja 0x422057
cbw
sub ax, 0x57
jmp 0x422065
lea edx, [eax - 0x41]
cmp dl, 0x19
ja 0x422069
cbw
sub ax, 0x37
mov word [ebp - 0xc], ax
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x42207b
movsx ax, cl
sub ax, 0x30
jmp 0x42209d
lea edx, [ecx - 0x61]
cmp dl, 0x19
ja 0x42208d
movsx ax, cl
sub ax, 0x57
jmp 0x42209d
lea edx, [ecx - 0x41]
cmp dl, 0x19
ja 0x4220a1
movsx ax, cl
sub ax, 0x37
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0xa]
mov word [edi], ax
jmp 0x4220b7
mov ecx, 0x100
mov word [edi], cx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
add edi, 2
call ebx
add esp, 4
cmp esi, eax
jb 0x422010
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x42cfec], al
je 0x423e8d
inc eax
cmp byte [eax + 0x42cfec], 0
jne 0x423e83
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00402930
mov dword [esi], eax
test eax, eax
je 0x423eab
push 0x42cfec
push eax
call dword [0x639134]
mov esi, dword [0x638aa4]
xor eax, eax
cmp byte [esi], al
je 0x423ebe
inc eax
cmp byte [esi + eax], 0
jne 0x423eb7
inc eax
call fcn.00402930
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x423ed5
push esi
push ebx
call dword [0x639134]
lea eax, [ebp - 0x24]
push eax
call dword [0x639044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x638ec0], si
cmp dword [ebp + 0xc], edi
jle 0x423f49
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x638ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x423f00
mov word [0x638ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x423fc1
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x423f91
cmp dword [ecx], 0
je 0x423f91
cmp dword [0x6391c4], ecx
jne 0x423f7b
mov dword [0x6391c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x423f91
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x423fc1
cmp dword [ecx], 0
je 0x423fc1
cmp dword [0x6391c4], eax
jne 0x423fab
mov dword [0x6391c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x423fc1
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4262f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x6390e0]
test esi, esi
jne 0x426308
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x426301
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x426301
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42636a
jmp 0x426350
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x638bf0]
add eax, esi
call fcn.00423e10
test eax, eax
je 0x426373
inc edi
cmp edi, dword [ebp - 4]
jb 0x426350
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427b9a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437140]
jne 0x427ba4
repz ret
jmp fcn.00428347

Function at 0x4288cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437140]
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.00428695
and dword [ebp - 0x14], 0
cmp dword [0x438740], 0
mov dword [ebp - 0x18], eax
jne 0x42897f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428a27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x428a27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x438740], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x438744], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x438748], eax
call edi
push eax
call esi
mov dword [0x438750], eax
test eax, eax
je 0x42897f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43874c], eax
mov eax, dword [0x43874c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4289d8
cmp dword [0x438750], ecx
je 0x4289d8
push eax
call esi
push dword [0x438750]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4289d8
test ebx, ebx
je 0x4289d8
call edi
test eax, eax
je 0x4289cf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4289cf
test byte [ebp - 8], 1
jne 0x4289d8
or dword [ebp + 0x10], 0x200000
jmp 0x428a0b
mov eax, dword [0x438744]
cmp eax, dword [ebp - 0x18]
je 0x428a0b
push eax
call esi
test eax, eax
je 0x428a0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428a0b
mov eax, dword [0x438748]
cmp eax, dword [ebp - 0x18]
je 0x428a0b
push eax
call esi
test eax, eax
je 0x428a0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438740]
call esi
test eax, eax
je 0x428a27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428a29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427b9a
leave
ret
Function at 0x4053b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x4c7480]
mov dword [esp + 4], ecx
push esi
push edi
test al, 1
je 0x406949
mov edi, dword [ebp + 0x10]
xor eax, eax
push 8
mov word [esp + 0x54], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], 1
call fcn.00420f16
mov edx, eax
mov dword [esp + 0x30], eax
add esp, 4
test edx, edx
je 0x406ac1
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x48], 1
mov dword [esp + 0x14], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x58], eax
jmp 0x4054bd

Function at 0x405f03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test byte [eax - 0x7ffffff8], ah
jl 0x405f2f
sub dword [eax], eax
add byte [eax], al
add byte [eax], al

Function at 0x405f72
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ecx], al
add byte [ebx + 0x408a0855], cl
and byte [eax - 0x74ecdbbc], cl
inc ebp
or al, 0xff
add byte [ebx + 0x4428b08], cl

Function at 0x4062ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jge 0x43ec7c
mov eax, dword [esp + 8]
mov ecx, eax
push 0x4c7488
mov dword [eax + 0xc], 1
mov dword [eax], 0
call fcn.00404e60
mov byte [esp + 0x29], 0
jmp 0x4055e6
shr dword [ebx], 1
ret 0xe183

Function at 0x406388
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + ecx*4]
cmp esi, 1
jne 0x4065ba
mov esi, edi
cmp dword [esi + 0xc], 4
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], eax
je 0x43dfd4
test ecx, ecx
jne 0x43dfdf
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x43dff1
push 0x10
mov dword [esi], 0
mov dword [esi + 0xc], 4
call fcn.00420f16
mov edx, eax
cmp byte [esp + 0x29], 0
jne 0x406ad3
mov esi, edx
jmp 0x406396
mov esi, dword [edx + 0x10]
jmp 0x406396
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [ecx - 0x62e3dd5], bl
mov edx, dword [ebp + 0x18]
sar eax, 1
sbb cl, dl
clc
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
lea eax, [eax + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0xa8]
cdq
sub eax, edx
sar ecx, 1
enter 0xffffffffffff838b, 0xffffffffffffffa8
add byte [eax], al
add byte [ecx - 0x62e3dd5], bl
sar eax, 1
sub ecx, eax
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x24], ecx
je 0x43e032
call fcn.00433f72
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x2ec]
mov ecx, esi
call 0x5462c3
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x24]
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x43e035
inc eax
inc ecx
jmp 0x43e035
mov eax, dword [ebp - 0x28]
push 0
push ecx
push eax
push dword [ebp - 0x2c]
lea ecx, [ebx + 0xc4]
push dword [ebp - 0x30]
call fcn.0042a2eb
jmp 0x43e12f