joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480500
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50feeb
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea esi, [esp + 0x1c]
mov ebx, ecx
mov dword [esp + 0x14], eax
call fcn.00425230
xor esi, esi
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esp + 0x36c], esi
mov dword [esp + 0x370], esi
mov dword [esp + 0x388], esi
mov ecx, dword [esp + 0x14]
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.00427790
test al, al
jne 0x4805db
mov ecx, edi
call fcn.00416430
push 0x54abe4
push 0x549858
mov edx, eax
call fcn.00417ed0
mov dword [esp + 0x390], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.004252a0
xor al, al
jmp 0x48065c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x48060a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x480606
xor eax, eax
jmp 0x48060a
mov eax, dword [esp + 0x18]
push eax
mov dword [ebx + 8], eax
call fcn.004ed893
mov ecx, dword [ebx + 8]
add esp, 4
push ecx
push eax
push edi
lea ecx, [esp + 0x374]
mov dword [ebx + 4], eax
call fcn.004277f0
test al, al
je 0x480592
mov dword [esp + 0x388], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.004252a0
mov al, 1
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.004ecddb
mov esp, ebp
pop ebp
ret 8
Function at 0x481d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x481d15
mov esi, dword [eax]
test esi, esi
jne 0x481d15
xor eax, eax
pop esi
ret 8
push edi
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x481d31
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x481d38
pop edi
xor eax, eax
pop esi
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, ebx
pop ebx
pop edi
pop esi
ret 8
Function at 0x499160
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esi + 0x10]
mov dl, byte [esi + 0x11]
mov dword [esp], eax
mov al, byte [esi + 0x12]
mov byte [esp + 4], cl
movzx ecx, byte [esi + 0x13]
push ebx
mov byte [esp + 0xa], al
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [esp + 0x20]
mov byte [esp + 0xd], dl
mov byte [esp + 0xf], cl
mov dword [esp + 0x10], edi
lea ebx, [edi + 8]
test eax, eax
je 0x4991b8
push eax
call fcn.004ed1ab
add esp, 4
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push ebx
call fcn.004ee78a
push 8
lea edx, [esp + 0x14]
push edx
push 8
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.004f124a
mov eax, dword [esi + 4]
push edi
push ebp
add eax, 8
push edi
push eax
call fcn.004f124a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
add esp, 0x24
push 0
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
neg eax
sbb eax, eax
pop ebp
neg eax
pop ebx
xor ecx, esp
dec eax
call fcn.004ecddb
add esp, 0x14
ret 8

Function at 0x499220
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
mov esi, ecx
mov edx, dword [esi]
push 8
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x4992b2
mov al, byte [esp + 0x14]
cmp al, byte [esi + 0x10]
jne 0x4992b2
mov cl, byte [esp + 0x15]
cmp cl, byte [esi + 0x11]
jne 0x4992b2
mov dl, byte [esp + 0x16]
cmp dl, byte [esi + 0x12]
jne 0x4992b2
mov al, byte [esp + 0x17]
cmp al, byte [esi + 0x13]
jne 0x4992b2
mov ebx, dword [esp + 0x18]
call fcn.00499370
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call edi
neg eax
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004ecddb
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.004ecddb
add esp, 0x18
ret
Function at 0x499930
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5142b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [str.SGPO]
mov esi, ecx
mov edi, edx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], str..pipe_sgppPopup2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.004998a0
cmp eax, 0xffffffff
jne 0x4999c5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4999b5
push eax
call fcn.004ed1ab
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x499a35
push edi
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.004992d0
mov ebp, eax
cmp ebp, 1
jne 0x499a17
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
call fcn.004998a0
cmp eax, 0xffffffff
jne 0x4999fc
lea esi, [esp + 0x10]
call fcn.00499900
or eax, 0xffffffff
jmp 0x499a35
push edi
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.004992d0
lea esi, [esp + 0x10]
mov edi, eax
call fcn.00499900
mov eax, edi
jmp 0x499a35
mov eax, dword [esp + 0x14]
test eax, eax
je 0x499a28
push eax
call fcn.004ed1ab
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004ecddb
add esp, 0x24
ret
Function at 0x49fc40
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, eax
push 0x2c
mov byte [esi], 1
call fcn.004ee78a
push eax
mov dword [eax], esi
lea edi, [eax + 4]
push 0
add esi, 0x810
mov ecx, 0xa
push 0x49fe70
rep movsd dword es:[edi], dword [esi]
call fcn.004f0e46
add esp, 0x10
pop edi
pop esi
ret

Function at 0x4a05f0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x438
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
lea eax, [esp + 8]
push eax
push esi
xor bl, bl
mov dword [esp + 0x10], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x4a0634
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.004ecddb
add esp, 0x438
ret
lea ecx, [esp + 0x28]
push str.SogouPY.ime
push ecx
call fcn.004ecf82
add esp, 8
test eax, eax
je 0x4a065b
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4a0634
jmp 0x4a065d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x434]
xor eax, eax
test bl, bl
setne al
pop ebx
xor ecx, esp
call fcn.004ecddb
add esp, 0x438
ret

Function at 0x4a0690
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x238
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
mov ebp, dword [esp + 0x244]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov ebx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4a06e5
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4a06ec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4a0776
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4a075b
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x4a075b
mov esi, eax
call fcn.004a05f0
test eax, eax
je 0x4a075b
lea ecx, [esp + 0x34]
test ecx, ecx
je 0x4a075b
mov ecx, str._System_Process_
lea eax, [esp + 0x34]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a0746
test dx, dx
je 0x4a0742
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a0746
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a0720
xor eax, eax
jmp 0x4a074b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a075b
lea edx, [esp + 0x34]
push edx
mov esi, ebp
call fcn.004a07a0
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a06ec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ecddb
add esp, 0x238
ret 4
Function at 0x4a23a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50b0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00424e70
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
mov edi, dword [esp + 0x30]
push 0x570920
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00424e90
mov ebx, dword [esp + 0x34]
test al, al
je 0x4a244d
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.004a1a40
test eax, eax
je 0x4a242a
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a2437
push ebx
push edi
mov ecx, esi
call fcn.004a2090
test eax, eax
je 0x4a244d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push edi
mov ecx, eax
call fcn.004a13a0
test al, al
jne 0x4a248e
push ebx
push str.UserEnv::MergeFrom
push edi
call fcn.004164e0
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
call fcn.0042a5c0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
call fcn.0042a5c0
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4a24c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50b0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00424e70
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
mov edi, dword [esp + 0x30]
push 0x570920
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00424e90
mov ebx, dword [esp + 0x34]
test al, al
je 0x4a256d
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.004a1a40
test eax, eax
je 0x4a254a
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a2557
push ebx
push edi
mov ecx, esi
call fcn.004a2090
test eax, eax
je 0x4a256d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push edi
mov ecx, eax
call fcn.004a1670
test al, al
jne 0x4a25ae
push ebx
push str.UserEnv::MergeGet
push edi
call fcn.004164e0
add esp, 0xc
lea ecx, [esp + 0x18]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
call fcn.0042a5c0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x18], vtable.UserEnv::t_locker.0
call fcn.0042a5c0
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4a69b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50bef8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x2c]
mov edi, dword [esp + 0x28]
push str.Local_sgime_user_lock_proc
mov dword [esi + 4], ecx
push edi
mov ecx, 0x570b58
mov byte [esi], al
call fcn.00480370
test al, al
jne 0x4a6a20
push 0x51e4b8
push edi
call fcn.004164e0
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push str.Local_sgime_user_lock
push edi
mov ecx, 0x570d88
call fcn.00424f80
test al, al
je 0x4a69fd
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00424e70
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
push 0x570d88
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00424e90
test al, al
jne 0x4a6a9c
push 0x51e4b8
push edi
call fcn.004164e0
add esp, 8
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.0042a5c0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
cmp byte [esi + 0xa70], 0
jne 0x4a6b20
call fcn.0041c7f0
mov ecx, eax
call fcn.0041aa70
test al, al
jne 0x4a6aee
push edi
call fcn.0041c7f0
mov ecx, eax
call fcn.0041aaa0
test al, al
jne 0x4a6aee
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042a5c0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
mov ecx, esi
call fcn.004a4d00
push 1
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
call fcn.004a6580
test al, al
je 0x4a6ac6
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.004a5e30
test al, al
je 0x4a6ac6
mov byte [esi + 0xa70], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042a5c0
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4a6e90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50ba90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00424e70
mov dword [esp + 0x18], vtable.UserManager::t_lockerProc.0
mov esi, dword [esp + 0x30]
push 0x570b58
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00424e90
test al, al
je 0x4a6f27
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00424e70
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
push 0x570d88
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00424e90
test al, al
jne 0x4a6f4f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0042a5c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042a5c0
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0
push esi
lea ecx, [edi + 0x14c]
call fcn.00419460
test al, al
je 0x4a6f19
push 0
push esi
lea ecx, [edi + 0x444]
call fcn.00419460
test al, al
je 0x4a6f19
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.004a6890
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call fcn.0042a5c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042a5c0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4a6fd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x50ba90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x20]
call fcn.00424e70
mov dword [esp + 0x18], vtable.UserManager::t_lockerProc.0
mov esi, dword [esp + 0x30]
push 0x570b58
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.00424e90
test al, al
je 0x4a7067
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00424e70
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
push 0x570d88
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00424e90
test al, al
jne 0x4a708f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0042a5c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042a5c0
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0
push esi
lea ecx, [edi + 0x14c]
call fcn.00419460
test al, al
je 0x4a7059
push 0
push esi
lea ecx, [edi + 0x444]
call fcn.00419460
test al, al
je 0x4a7059
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.004a6b50
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x28], 0
call fcn.0042a5c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0042a5c0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x4ec047
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x4ec06c
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x4ec084
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x4ec0b3
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x4ec0f2
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x4ec1c6
sub edx, 0x10000
js 0x4ec1c6
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x4ec0d8
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x4ec0d8
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x4ec149
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x4ec146
add edx, 8
jne 0x4ec12d
jmp 0x4ec1b7
add edx, 4
test eax, 0xffff
jne 0x4ec156
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x4ec1b7
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x4ec18a
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x4ec0d8
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x4ec1c6
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x4ec0d8
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x4ec1d7
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4ecddb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56957c]
jne 0x4ecde5
repz ret
jmp fcn.004f644e

Function at 0x502f64
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004f1836
and dword [ebp - 4], 0
cmp dword [0x571b24], 0
mov ebx, eax
jne 0x503015
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5030c6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5030c6
push eax
call fcn.004f17c4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x571b24], eax
call esi
push eax
call fcn.004f17c4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x571b28], eax
call esi
push eax
call fcn.004f17c4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x571b2c], eax
call esi
push eax
call fcn.004f17c4
pop ecx
mov dword [0x571b34], eax
test eax, eax
je 0x503015
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004f17c4
pop ecx
mov dword [0x571b30], eax
mov eax, dword [0x571b30]
cmp eax, ebx
je 0x50306d
cmp dword [0x571b34], ebx
je 0x50306d
push eax
call fcn.004f183f
push dword [0x571b34]
mov esi, eax
call fcn.004f183f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x50306d
test edi, edi
je 0x50306d
call esi
test eax, eax
je 0x503064
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x503064
test byte [ebp - 0xc], 1
jne 0x50306d
or dword [ebp + 0x10], 0x200000
jmp 0x5030a6
mov eax, dword [0x571b28]
cmp eax, ebx
je 0x5030a6
push eax
call fcn.004f183f
pop ecx
test eax, eax
je 0x5030a6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5030a6
mov eax, dword [0x571b2c]
cmp eax, ebx
je 0x5030a6
push eax
call fcn.004f183f
pop ecx
test eax, eax
je 0x5030a6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x571b24]
call fcn.004f183f
pop ecx
test eax, eax
je 0x5030c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5030c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret