joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010030
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 0x1001007e
mov edx, dword [esi]
mov ecx, esi
push str.imgbtn
call dword [edx + 4]
test eax, eax
je 0x1001007e
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 0x10010091
call fcn.1002d176
mov esi, eax
jmp 0x10010093
xor esi, esi
push 0xffffffffffffffff
push edi
push str.imgbtn
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 0x100100f5
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 0x10010148
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x10010148
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
Function at 0x10010170
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 0x100101be
mov edx, dword [esi]
mov ecx, esi
push str.buttonex
call dword [edx + 4]
test eax, eax
je 0x100101be
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 0x100101d1
call fcn.1002d176
mov esi, eax
jmp 0x100101d3
xor esi, esi
push 0xffffffffffffffff
push edi
push str.buttonex
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 0x10010235
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 0x10010288
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x10010288
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
Function at 0x100102b0
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 0x100102fe
mov edx, dword [esi]
mov ecx, esi
push str.text
call dword [edx + 4]
test eax, eax
je 0x100102fe
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 0x10010311
call fcn.1002d176
mov esi, eax
jmp 0x10010313
xor esi, esi
push 0xffffffffffffffff
push edi
push str.text
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 0x10010375
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 0x100103c8
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x100103c8
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
Function at 0x10017370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10017479
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10017394
sub edi, ecx
sar edi, 1
cmp edi, 0x104
jge 0x10017479
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100874c0
lea ecx, [ebp - 0x210]
add esp, 0xc
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x100173d0
add edi, edi
cmp edi, 0x20a
jae 0x1001748b
xor eax, eax
mov word [ebp + edi - 0x210], ax
add edi, 2
cmp edi, 0x20a
jae 0x1001748b
mov word [ebp + edi - 0x210], ax
mov dword [ebp - 0x21e], eax
mov dword [ebp - 0x21a], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x216], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x228], eax
mov eax, 0x454
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x10017479
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1008370a
mov esp, ebp
pop ebp
ret
call fcn.10083d5e
int3
Function at 0x10017a00
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c47f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 dword [ebp - 4], 1
sub esp, 0x18
mov esi, dword [ebp + 8]
mov edx, esp
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea edi, [ecx + 2]
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017a51
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10017e00
lea ecx, [ebp - 0x40]
call fcn.10017820
mov byte [ebp - 4], 2
mov edx, esp
mov esi, dword [ebp + 0xc]
xor eax, eax
mov ecx, esi
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017a92
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10017e00
lea ecx, [ebp - 0x28]
call fcn.10017820
add esp, 0x18
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10017adf
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x10017ae4
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10017b18
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017b0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017be1
push edx
push ecx
call fcn.10083a7e
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10017b62
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017be6
push edx
push ecx
call fcn.10083a7e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x10017b9d
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10017b9d
push ecx
call fcn.100209bc
add esp, 4
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x10017bc4
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10017bc4
push eax
call fcn.100209bc
add esp, 4
mov eax, esi
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
call fcn.1008c627
call fcn.1008c627
int3
Function at 0x10019160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c48b9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 2
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], eax
mov byte [ebx], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x1001928a
cmp dword [ebp + 0x38], 0x10
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
mov dl, byte [eax + ecx]
xor ecx, ecx
test esi, esi
jle 0x10019204
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x18]
nop dword [eax]
cmp esi, 0x10
lea eax, [ebp + 0xc]
cmovae eax, edi
xor dl, byte [eax + ecx]
inc ecx
cmp ecx, ebx
jl 0x100191f0
mov ebx, dword [ebp - 0x20]
movzx eax, dl
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push str._02X
push eax
call fcn.10019320
lea esi, [ebp - 0x10]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10019226
mov edx, dword [ebx + 0x14]
sub esi, ecx
mov ecx, dword [ebx + 0x10]
mov eax, edx
sub eax, ecx
cmp esi, eax
ja 0x10019263
lea eax, [ecx + esi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x1001924c
mov eax, dword [ebx]
lea edi, [eax + ecx]
push esi
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.10086f40
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x10019277
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 0x24], 0
push eax
push dword [ebp - 0x24]
mov ecx, ebx
push esi
call fcn.10015990
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x28]
jl 0x100191d0
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100192ba
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100192b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019312
push edx
push ecx
call fcn.10083a7e
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x100192fc
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100192f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019317
push edx
push ecx
call fcn.10083a7e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
call fcn.1008c627
call fcn.1008c627
int3
Function at 0x1001b780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [0x10123bbc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10123bc0], eax
mov eax, dword [0x101239e8]
push 1
push dword [eax + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x101239e4]
push 0
call fcn.100307d1
pop ebp
ret

Function at 0x1001b7c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x101239e8]
mov dword [0x10123bbc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10123bc0], eax
jmp fcn.1000b280
Function at 0x1001d350
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov dword [0x10123bbc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10123bc0], eax
xor eax, eax
push eax
push 0x100ecfbc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10017e00
lea ecx, [ebp - 0x28]
call fcn.1001ab00
xor esi, esi
push esi
push 2
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
push 0x22c
mov dword [ebp - 0x34], ebx
call fcn.100836e8
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], edi
push edi
push ebx
mov dword [edi], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1001d4c6
lea ebx, [edi + 0x24]
nop dword [eax + eax]
mov esi, dword [0x1010b004]
test ebx, ebx
je 0x1001d45b
mov edi, ebx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1001d410
sub edi, ecx
sar edi, 1
je 0x1001d458
lea eax, [edi*2 + 0xe]
push eax
call fcn.100209c1
add esp, 4
test eax, eax
je 0x1001d458
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
push ebx
push esi
call fcn.10085a20
add esp, 0xc
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call fcn.1008c780
mov ecx, dword [ebp - 0x30]
add esp, 8
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x30], ecx
add esi, 0xfffffff4
mov dword [ebp - 4], 0
cmp esi, dword [section..data]
je 0x1001d4a7
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001d4a7
push esi
call fcn.100209bc
add esp, 4
push edi
push dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001d400
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
push 0x22c
push edi
call fcn.10083a7e
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1001d4e4
or ecx, 0xffffffff
jmp 0x1001d4e6
xor ecx, ecx
call fcn.10019390
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001d521
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d517
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d53d
push edx
push ecx
call fcn.10083a7e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret
call fcn.1008c627
int3
Function at 0x1001d550
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4b00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov dword [0x10123bbc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10123bc0], eax
xor eax, eax
push eax
push 0x100ecfbc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10017e00
lea ecx, [ebp - 0x28]
call fcn.1001ab00
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
push 0x22c
mov dword [ebp - 0x2c], edi
call fcn.100836e8
add esp, 4
mov ebx, eax
push ebx
push edi
mov dword [ebx], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1001d6c0
lea eax, [ebx + 0x24]
mov esi, dword [0x1010b004]
test eax, eax
je 0x1001d651
mov edi, eax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1001d603
sub edi, ecx
sar edi, 1
je 0x1001d64e
lea eax, [edi*2 + 0xe]
push eax
call fcn.100209c1
add esp, 4
test eax, eax
je 0x1001d64e
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]
push eax
push esi
call fcn.10085a20
add esp, 0xc
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call fcn.1008c780
add esp, 8
test eax, eax
jne 0x1001d67f
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 dword [ebp - 4], 0
cmp esi, dword [section..data]
je 0x1001d6a6
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001d6a6
push esi
call fcn.100209bc
add esp, 4
push ebx
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
lea eax, [ebx + 0x24]
jne 0x1001d5f4
push 0x22c
push ebx
call fcn.10083a7e
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001d70b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d701
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d727
push edx
push ecx
call fcn.10083a7e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008370a
mov esp, ebp
pop ebp
ret
call fcn.1008c627
int3
Function at 0x100222df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x10022302
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x1002239f
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.10021f99
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10022325
push ebx
call fcn.10094087
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x1002237b
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x1010b028]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x10022350
call fcn.10094087
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x1002237b
push esi
push 1
push eax
call fcn.10095a7a
push ebx
mov esi, eax
call fcn.10094087
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x10022384
push dword [ebp - 4]
call dword [0x1010b02c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x1002239e
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.1002228a
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x10033c31
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x10033c57
call fcn.1002873d
jmp 0x10033c83
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10027bff
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x10033c83
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x100417a1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x100caa70
push dword [ebp + 8]
call fcn.10095851
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100417fe
push ebx
push edi
push esi
call fcn.10096d63
push eax
call fcn.10096ea1
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x100417dd
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x100417f3
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.10095a7a
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.10094087
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x10041858
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.10042373
mov ebx, eax
test ebx, ebx
je 0x1004188e
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1004188e
cmp dword [ebp + 0x14], edi
jae 0x10041897
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1004188e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1004188e
push edi
push eax
push dword [ebp + 0x10]
call fcn.10085a20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x10041890
Function at 0x100433a4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.100844e0
mov eax, dword [0x1010b824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push edi
mov ecx, dword [ebx + 8]
call fcn.1004352c
test eax, eax
jne 0x1004348e
mov ecx, dword [0x10112950]
test ecx, ecx
je 0x100433e7
call fcn.1002d176
mov esi, eax
jmp 0x100433e9
xor esi, esi
push dword [edi + 4]
mov ebx, 0x800
lea eax, [ebp - 0x1804]
push dword [edi]
push str.Warning:_no_ojbect__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push ebx
push eax
call fcn.10015920
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x1804]
add esp, 0x18
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
push ecx
call edi
cmp eax, ebx
jae 0x10043442
push 0
push 0
push eax
lea eax, [ebp - 0x804]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1804]
push eax
push 0
push 0
call edi
test esi, esi
je 0x1004347d
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x1004347d
push dword [ebp + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x804]
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.d:youqu_job_soui_soui_srccore_sobjectfactory.cpp
push ecx
push str.soui
push 3
push 0
mov ecx, esi
call dword [eax + 0x34]
jmp 0x1004348a
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x100434aa
mov ecx, dword [ebx + 8]
push edi
call fcn.100431e1
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, ebx
push esi
call fcn.10043746
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008370a
leave
ret 4