joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100105c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.10084cf0
mov eax, dword [0x1010c824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push edi
call fcn.100263cc
mov esi, eax
test esi, esi
je 0x1001060e
mov edx, dword [esi]
mov ecx, esi
push str.radio2
call dword [edx + 4]
test eax, eax
je 0x1001060e
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10083f1a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x10113950]
test ecx, ecx
je 0x10010621
call fcn.1002d985
mov esi, eax
jmp 0x10010623
xor esi, esi
push 0xffffffffffffffff
push edi
push str.radio2
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.10015d70
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 0x10010685
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 0x100106d8
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x100106d8
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.10083f1a
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.10083f1a
mov esp, ebp
pop ebp
ret 8
Function at 0x10010700
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1808
call fcn.10084cf0
mov eax, dword [0x1010c824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push edi
call fcn.100263cc
mov esi, eax
test esi, esi
je 0x1001074e
mov edx, dword [esi]
mov ecx, esi
push str.text
call dword [edx + 4]
test eax, eax
je 0x1001074e
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10083f1a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x10113950]
test ecx, ecx
je 0x10010761
call fcn.1002d985
mov esi, eax
jmp 0x10010763
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.10015d70
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 0x100107c5
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 0x10010818
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x10010818
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.10083f1a
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.10083f1a
mov esp, ebp
pop ebp
ret 8
Function at 0x100177c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010c824]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test esi, esi
je 0x100178c9
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x100177e4
sub edi, ecx
sar edi, 1
cmp edi, 0x104
jge 0x100178c9
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10087cd0
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 0x10017820
add edi, edi
cmp edi, 0x20a
jae 0x100178db
xor eax, eax
mov word [ebp + edi - 0x210], ax
add edi, 2
cmp edi, 0x20a
jae 0x100178db
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 0x100178c9
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10083f1a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10083f1a
mov esp, ebp
pop ebp
ret
call fcn.1008456e
int3
Function at 0x10017eb0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5048
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1010c824]
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 0x10017f01
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.100182b0
lea ecx, [ebp - 0x40]
call fcn.10017cd0
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 0x10017f42
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.100182b0
lea ecx, [ebp - 0x28]
call fcn.10017cd0
add esp, 0x18
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10017f8f
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 0x10017f94
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10017fc8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017fbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018091
push edx
push ecx
call fcn.1008428e
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 0x10018012
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018096
push edx
push ecx
call fcn.1008428e
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 0x1001804d
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1001804d
push ecx
call fcn.100211cc
add esp, 4
mov dword [ebp - 4], 4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
cmp eax, dword [section..data]
je 0x10018074
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10018074
push eax
call fcn.100211cc
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.10083f1a
mov esp, ebp
pop ebp
ret
call fcn.1008ce37
call fcn.1008ce37
int3
Function at 0x10019610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5109
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1010c824]
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 0x1001973a
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 0x100196b4
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 0x100196a0
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.100197d0
lea esi, [ebp - 0x10]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100196d6
mov edx, dword [ebx + 0x14]
sub esi, ecx
mov ecx, dword [ebx + 0x10]
mov eax, edx
sub eax, ecx
cmp esi, eax
ja 0x10019713
lea eax, [ecx + esi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x100196fc
mov eax, dword [ebx]
lea edi, [eax + ecx]
push esi
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.10087750
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x10019727
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 0x24], 0
push eax
push dword [ebp - 0x24]
mov ecx, ebx
push esi
call fcn.10015de0
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x28]
jl 0x10019680
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x1001976a
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100197c2
push edx
push ecx
call fcn.1008428e
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 0x100197ac
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100197a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100197c7
push edx
push ecx
call fcn.1008428e
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.1008ce37
call fcn.1008ce37
int3
Function at 0x1001beb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101249b8], 0
mov eax, dword [ebp + 0xc]
mov dword [0x10124bb0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10124bb4], eax
mov eax, dword [0x101249c4]
je 0x1001bed5
push 0
jmp 0x1001bed7
push 1
push dword [eax + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x101249c0]
push 0
call fcn.10030fe0
pop ebp
ret

Function at 0x1001bf00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x101249c4]
mov dword [0x10124bb0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10124bb4], eax
jmp fcn.1000bb00
Function at 0x1001d940
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5350
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1010c824]
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 [0x10124bb0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10124bb4], eax
xor eax, eax
push eax
push 0x100edfac
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100182b0
lea ecx, [ebp - 0x28]
call fcn.1001b190
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.10083ef8
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 0x1001dab6
lea ebx, [edi + 0x24]
nop dword [eax + eax]
mov esi, dword [0x1010c004]
test ebx, ebx
je 0x1001da4b
mov edi, ebx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1001da00
sub edi, ecx
sar edi, 1
je 0x1001da48
lea eax, [edi*2 + 0xe]
push eax
call fcn.100211d1
add esp, 4
test eax, eax
je 0x1001da48
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.10086230
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.1008cf90
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 0x1001da97
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001da97
push esi
call fcn.100211cc
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 0x1001d9f0
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
push 0x22c
push edi
call fcn.1008428e
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1001dad4
or ecx, 0xffffffff
jmp 0x1001dad6
xor ecx, ecx
call fcn.10019840
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001db11
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001db07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001db2d
push edx
push ecx
call fcn.1008428e
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.10083f1a
mov esp, ebp
pop ebp
ret
call fcn.1008ce37
int3
Function at 0x1001db40
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5380
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1010c824]
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 [0x10124bb0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10124bb4], eax
xor eax, eax
push eax
push 0x100edfac
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100182b0
lea ecx, [ebp - 0x28]
call fcn.1001b190
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
push 0x22c
mov dword [ebp - 0x2c], edi
call fcn.10083ef8
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 0x1001dcb0
lea eax, [ebx + 0x24]
mov esi, dword [0x1010c004]
test eax, eax
je 0x1001dc41
mov edi, eax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1001dbf3
sub edi, ecx
sar edi, 1
je 0x1001dc3e
lea eax, [edi*2 + 0xe]
push eax
call fcn.100211d1
add esp, 4
test eax, eax
je 0x1001dc3e
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.10086230
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.1008cf90
add esp, 8
test eax, eax
jne 0x1001dc6f
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 0x1001dc96
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1001dc96
push esi
call fcn.100211cc
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 0x1001dbe4
push 0x22c
push ebx
call fcn.1008428e
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001dcfb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001dcf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dd17
push edx
push ecx
call fcn.1008428e
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.10083f1a
mov esp, ebp
pop ebp
ret
call fcn.1008ce37
int3
Function at 0x10022aef
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 0x10022b12
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x10022baf
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.100227a9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10022b35
push ebx
call fcn.10094897
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x10022b8b
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x1010c028]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x10022b60
call fcn.10094897
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x10022b8b
push esi
push 1
push eax
call fcn.1009628a
push ebx
mov esi, eax
call fcn.10094897
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x10022b94
push dword [ebp - 4]
call dword [0x1010c02c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x10022bae
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.10022a9a
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x10034440
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 0x10034466
call fcn.10028f4d
jmp 0x10034492
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002840f
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x10034492
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 0x10041fb5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x100cba70
push dword [ebp + 8]
call fcn.10096061
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10042012
push ebx
push edi
push esi
call fcn.10097573
push eax
call fcn.100976b1
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x10041ff1
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x10042007
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.1009628a
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.10094897
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x1004206c
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.10042b87
mov ebx, eax
test ebx, ebx
je 0x100420a2
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x100420a2
cmp dword [ebp + 0x14], edi
jae 0x100420ab
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 0x100420a2
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100420a2
push edi
push eax
push dword [ebp + 0x10]
call fcn.10086230
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x100420a4
Function at 0x10043bb9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.10084cf0
mov eax, dword [0x1010c824]
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.10043d41
test eax, eax
jne 0x10043ca3
mov ecx, dword [0x10113950]
test ecx, ecx
je 0x10043bfc
call fcn.1002d985
mov esi, eax
jmp 0x10043bfe
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.10015d70
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 0x10043c57
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 0x10043c92
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x10043c92
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 0x10043c9f
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x10043cbf
mov ecx, dword [ebx + 8]
push edi
call fcn.100439f6
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, ebx
push esi
call fcn.10043f5b
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083f1a
leave
ret 4