joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x48f240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x464427
mov ecx, 5
int 0x29
push 2
call fcn.00463a10
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x464532
test esi, esi
jne 0x464532
push 2
call fcn.00463a10
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00462bad
mov esp, ebp
pop ebp
ret
Function at 0x468da0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x468dca
mov eax, 2
pop ebp
ret
push esi
call fcn.00464060
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x468dea
jmp dword [eax*4 + 0x468e20]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.004643a0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x4695c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0044c6c0
mov esi, dword [ebp + 8]
test al, al
je 0x4695de
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.004695f0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x469720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46977c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46977c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46977c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46977c
cmp dword [ecx + 0x74], 0xe
jbe 0x46977c
cmp dword [ecx + 0xe8], 0
je 0x46977c
push dword [ebp + 8]
call fcn.004695f0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2ac4188
call fcn.004693d0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x4697b1
push dword [ebp + 8]
call fcn.004695c0
mov esp, ebp
pop ebp
ret

Function at 0x4697f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46984c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46984c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46984c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46984c
cmp dword [ecx + 0x74], 0xe
jbe 0x46984c
cmp dword [ecx + 0xe8], 0
je 0x46984c
push dword [ebp + 8]
call fcn.004695f0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2ac4188
call fcn.004693d0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x469881
push dword [ebp + 8]
call fcn.004695c0
mov esp, ebp
pop ebp
ret
Function at 0x46ea20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46ea4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46ea4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10002170
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push edi
push eax
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x100021c6
push edi
call fcn.10083a8c
add esp, 4
mov dword [esi], eax
push eax
push edi
push dword [ebp - 4]
push str.kernel32.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov ecx, dword [esi]
test eax, eax
jne 0x100021d0
push ecx
call fcn.10083a95
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push str.VarFileInfoTranslation
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x100021ec
push dword [esi]
jmp 0x100021b1
mov eax, dword [ebp - 8]
pop edi
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10009420
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3a08
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x814], edi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x810]
push dword [ecx + 4]
push 0x800
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [0x1010b004]
lea esi, [ebp - 0x810]
mov dword [edi], eax
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10009490
sub esi, ecx
sar esi, 1
je 0x100094e1
lea eax, [esi*2 + 0xe]
push eax
call fcn.100209c1
add esp, 4
test eax, eax
je 0x100094e1
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + esi*2 + 0xc], cx
lea ecx, [eax + 0xc]
lea eax, [esi + esi]
mov dword [edi], ecx
push eax
lea eax, [ebp - 0x810]
push eax
push ecx
call fcn.10085a20
add esp, 0xc
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000950a
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000950a
push ecx
call fcn.100209bc
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x10009530
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10009530
push ecx
call fcn.100209bc
add esp, 4
mov dword [ebp - 4], 5
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x10009557
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x10009557
push eax
call fcn.100209bc
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10009dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x1010b824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1010b004]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100174a0
push 0x100f00fc
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.10017bf0
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x10009e4e
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10009e4e
push ecx
call fcn.100209bc
add esp, 4
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, esp
push eax
call fcn.100017c0
xor ecx, ecx
call fcn.10017cb0
add esp, 4
test al, al
je 0x10009e7d
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001540
jmp 0x10009f08
mov eax, dword [0x1010b004]
push ecx
mov esi, esp
push 0x44
mov dword [esi], eax
call fcn.100209c1
add esp, 4
test eax, eax
je 0x10009ec4
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 0x1b
mov dword [eax + 8], 0x1b
mov word [eax + 0x42], cx
add eax, 0xc
push 0x36
push str.C:WindowsSystem32cmd.exe
push eax
mov dword [esi], eax
call fcn.10085a20
add esp, 0xc
xor ecx, ecx
call fcn.10017cb0
add esp, 4
test al, al
je 0x10009ed9
push str.C:WindowsSystem32cmd.exe
jmp 0x10009f00
push ecx
mov ecx, esp
push str.C:WindowsSysWOW64cmd.exe
call fcn.10001330
xor ecx, ecx
call fcn.10017cb0
add esp, 4
test al, al
je 0x10009efb
push str.C:WindowsSysWOW64cmd.exe
jmp 0x10009f00
push str.cmd.exe
lea ecx, [ebp - 0x14]
call fcn.10001730
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x10009f92
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10009f92
push ecx
call fcn.100209bc
add esp, 4
add esi, 0xfffffff4
mov byte [ebp - 4], 7
cmp esi, dword [section..data]
je 0x10009fb5
mov eax, edi
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10009fb5
push esi
call fcn.100209bc
add esp, 4
mov dword [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x10009fdc
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10009fdc
push eax
call fcn.100209bc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000bc50
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3db0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1010b824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 8
call fcn.100836e8
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000bc9a
mov dword [eax], vtable.CRegistry.0
mov dword [eax + 4], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x1000bc9c
xor eax, eax
mov dword [ebx + 0x79c], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x38]
cmp ax, 9
je 0x1000bcc1
cmp ax, 6
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionGolinkPath_
jne 0x1000bcc6
mov eax, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionGolinkPath_
mov esi, dword [ebx + 0x79c]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000bd81
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [0x1010b004]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100f0510
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10001860
add esp, 0x10
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000bd4d
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000bd4d
push ecx
call fcn.100209bc
add esp, 4
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 0x79c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x1000bd78
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov dword [ebp - 4], 5
jmp 0x1000bde6
mov eax, dword [0x1010b004]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100f04fc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10001860
add esp, 0x10
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x1000bdd5
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000bdd5
push ecx
call fcn.100209bc
add esp, 4
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 2
add esi, 0xfffffff4
cmp esi, dword [section..data]
je 0x1000be03
lock xadd dword [esi], edi
dec edi
test edi, edi
jg 0x1000be03
push esi
call fcn.100209bc
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x79c]
test ecx, ecx
je 0x1000be24
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x79c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cfe0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3f10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1010b824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
push 0x22c
mov dword [ebp - 0x14], esi
call fcn.100836e8
add esp, 4
mov ebx, eax
push ebx
push esi
mov dword [ebx], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
or edi, 0xffffffff
test eax, eax
je 0x1000d145
lea eax, [ebx + 0x24]
mov esi, dword [0x1010b004]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x1000d0b4
mov edi, eax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1000d063
sub edi, ecx
sar edi, 1
je 0x1000d0b1
lea eax, [edi*2 + 0xe]
push eax
call fcn.100209c1
add esp, 4
test eax, eax
je 0x1000d0b1
mov dword [eax + 4], edi
lea esi, [eax + 0xc]
mov dword [eax + 8], edi
xor ecx, ecx
mov dword [eax], 1
mov word [eax + edi*2 + 0xc], cx
add edi, edi
push edi
lea eax, [ebx + 0x24]
mov dword [ebp - 0x10], esi
push eax
push esi
call fcn.10085a20
add esp, 0xc
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jg 0x1000d0c7
cmp dword [eax - 4], 0
jge 0x1000d0e5
mov eax, dword [eax - 8]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
lea ecx, [ebp + 8]
push eax
call fcn.10001a40
test al, al
jne 0x1000d0e2
xor eax, eax
jmp 0x1000d0e5
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.1008c780
add esp, 8
test eax, eax
jne 0x1000d108
push dword [ebx + 8]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esi, 0xfffffff4
mov byte [ebp - 4], 2
cmp esi, dword [section..data]
je 0x1000d12b
mov eax, edi
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1000d12b
push esi
call fcn.100209bc
add esp, 4
mov esi, dword [ebp - 0x14]
push ebx
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
lea eax, [ebx + 0x24]
jne 0x1000d051
push 0x22c
push ebx
call fcn.10083a7e
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x1000d181
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x1000d181
push eax
call fcn.100209bc
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f4e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c41a3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1010b824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
push 0
push 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.100160c0
push 8
call fcn.100836e8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000f5b8
push 1
mov dword [ebp - 4], 2
call fcn.10074d09
add esp, 4
mov dword [ebx + 4], eax
jmp 0x1000f5ba
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 3
mov ebx, dword [ebx + 4]
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
push eax
call fcn.10010670
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov dword [ebp + 8], eax
mov dword [ebp - 4], 5
test ebx, ebx
je 0x1000f621
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x1000f61e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x1000f63f
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.100160c0
lea edx, [edi + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000fdc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.100844e0
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
call fcn.10025bbc
mov esi, eax
test esi, esi
je 0x1000fe12
mov edx, dword [esi]
mov ecx, esi
push str.tabctrl
call dword [edx + 4]
test eax, eax
je 0x1000fe12
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x10112950]
test ecx, ecx
je 0x1000fe25
call fcn.1002d176
mov esi, eax
jmp 0x1000fe27
xor esi, esi
push ebx
push edi
push str.tabctrl
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
lea eax, [ebp - 0x1808]
push 0x800
push eax
call fcn.10015920
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x1808]
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
cmp eax, 0x800
jae 0x1000fe88
push 0
push 0
push eax
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1808]
push eax
push 0
push 0
call edi
test esi, esi
je 0x1000fec9
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x1000fec9
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20f
push str.d:youqu_job_soui_souiincludecore_swnd.h
lea eax, [ebp - 0x808]
push eax
push str.soui
push 3
push 0
call dword [edx + 0x34]
jmp 0x1000fed6
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008370a
mov esp, ebp
pop ebp
ret 8
Function at 0x1000fef0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.100844e0
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push edi
call fcn.10025bbc
mov esi, eax
test esi, esi
je 0x1000ff3e
mov edx, dword [esi]
mov ecx, esi
push str.window
call dword [edx + 4]
test eax, eax
je 0x1000ff3e
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x10112950]
test ecx, ecx
je 0x1000ff51
call fcn.1002d176
mov esi, eax
jmp 0x1000ff53
xor esi, esi
push 0xffffffffffffffff
push edi
push str.window
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
lea eax, [ebp - 0x1808]
push 0x800
push eax
call fcn.10015920
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x1808]
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
cmp eax, 0x800
jae 0x1000ffb5
push 0
push 0
push eax
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1808]
push eax
push 0
push 0
call edi
test esi, esi
je 0x10010008
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x10010008
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20f
push str.d:youqu_job_soui_souiincludecore_swnd.h
lea eax, [ebp - 0x808]
push eax
push str.soui
push 3
push 0
call dword [edx + 0x34]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1008370a
mov esp, ebp
pop ebp
ret 8