joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411825
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push dword [ebp]
call dword [sym.imp.USER32.dll_HideCaret]
push dword [ebp]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0x28]
sub eax, dword [ebp + 0xc]
imul eax, dword [0x431e98]
add ebx, dword [ebp + 4]
push esi
mov dword [esp + 0x14], esi
add eax, 4
mov dword [esp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x431e98]
mov ebp, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push ebp
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [0x431e98]
lea eax, [esp + 0x18]
push ebx
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [0x431e90]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_FillRect]
push dword [0x431e98]
push 0
push ebp
push dword [esp + 0x34]
call fcn.00411c74
mov eax, dword [esp + 0x28]
push dword [eax + 0x28]
push eax
call fcn.0040f9c5
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 0x28]
push 0
push ebp
push eax
call fcn.0041194a
push dword [0x431e98]
push 0
push ebp
push dword [esp + 0x34]
call fcn.00411735
push 0xcc0020
xor eax, eax
push eax
push eax
push ebp
push dword [0x431e98]
push ebx
push dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
mov ebx, dword [esp + 0x2c]
push dword [ebx]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowCaret]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x413fd2
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x413fed
push 0xd
call esi
test eax, eax
je 0x4140a7
mov esi, dword [esp + 8]
push esi
call fcn.00412db8
test eax, eax
je 0x414001
push esi
call fcn.0041167b
push esi
call fcn.004141db
test eax, eax
je 0x4140a7
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x4140a0
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esi + 0x24]
mov ebp, eax
push ebp
push 0
call fcn.00411e79
push 0x7e1
add eax, eax
push eax
call fcn.00401286
mov edi, eax
test edi, edi
je 0x414097
push dword [esi + 0x24]
push ebp
push edi
call fcn.00411e79
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push esi
call fcn.0042062d
push dword [esi + 0x34]
push esi
call fcn.004208c0
push dword [esi + 0x34]
push edi
push esi
call fcn.00412b4d
push dword [esi + 0x28]
push dword [esi + 0x24]
push 0
push esi
call fcn.004205f3
push edi
call fcn.00404070
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop esi
ret 4

Function at 0x414d53
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
xor edi, edi
call fcn.00412db8
test eax, eax
je 0x414db9
push edi
push esi
call fcn.0041244c
test eax, eax
je 0x414db9
push ebx
add eax, eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x414db8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push esi
call fcn.0041244c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
inc edi
pop ebx
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x41944c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
movzx edx, word [eax]
push edi
movzx ebx, word [esi]
mov edi, ebx
cmp di, dx
jne 0x419489
push 0xfffffffffffffffe
pop ebx
sub esi, eax
lea edx, [eax + 2]
sub ebx, eax
movzx ecx, byte [esi + edx]
movzx eax, byte [edx]
sub ecx, eax
jne 0x419484
inc edx
lea eax, [ebx + edx]
cmp eax, 0xe
jl 0x41946e
jmp 0x4194e9
test di, di
jmp 0x4194e5
mov eax, edx
xor eax, edi
test ax, ax
jns 0x41949e
movsx ecx, bx
sar ecx, 0xf
and ecx, 0xfffffffe
inc ecx
jmp 0x4194e9
mov eax, 0x7fff
and edx, eax
and edi, eax
push ebp
mov eax, edx
mov ebp, 0xffff8000
or eax, ebp
mov ecx, edx
test cx, 0x4000
movzx esi, ax
movzx eax, dx
mov ecx, edi
cmove esi, eax
mov eax, edi
or eax, ebp
test cx, 0x4000
movzx edx, ax
movzx eax, di
cmove edx, eax
xor ecx, ecx
inc ecx
or eax, 0xffffffff
cmp dx, si
pop ebp
cmovle ecx, eax
test bx, bx
jns 0x4194e9
neg ecx
pop edi
pop esi
mov eax, ecx
pop ebx
ret 8
Function at 0x10001060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001079
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1000108d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x100010ae
cmp esi, eax
jae 0x10001087
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100010a0
cmp esi, eax
jae 0x10001087
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x100097b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100377c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x1004a0f0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov esi, ecx
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x134], 0
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x3f
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x74]
mov cl, byte [eax + 1]
xor bl, bl
test cl, cl
mov byte [esp + 0x134], 1
je 0x1000995a
mov dl, byte [eax + 0x13]
test dl, dl
je 0x1000994b
push 0x1b
push str.Control_PanelInternational
lea ecx, [esp + 0x18]
call fcn.10001ed0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009940
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push 0
push str.Locale
push ecx
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009931
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.10002070
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.100035c0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call fcn.10001fc0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009903
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
push str.0409
push eax
call fcn.1001b637
add esp, 8
test eax, eax
je 0x1000992f
lea ecx, [esp + 0xc]
push str.1009
push ecx
call fcn.10003320
add esp, 8
test al, al
je 0x10009931
mov bl, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jmp 0x1000994d
mov edx, dword [esi + 0x78]
mov dword [edx], 0x13
jmp 0x10009963
test cl, cl
je 0x1000995a
mov eax, dword [esi + 0x78]
mov dword [eax], 1
jmp 0x10009963
mov ecx, dword [esi + 0x78]
mov dword [ecx], 0x13
mov ecx, esi
call fcn.100090b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x134], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10009990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100099b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.1001b3e9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e9c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x14], 0
mov ecx, 0x49
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 2
mov dword [esp + 0x18], 3
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1000eaeb
mov ebp, dword [esp + 0x248]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000ea8e
lea ecx, [esp + 0x38]
push 0x5c
push ecx
call fcn.1001b850
add esp, 8
test eax, eax
je 0x1000ea50
inc eax
lea edx, [esp + 0x13c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000ea44
jmp 0x1000ea62
xor eax, eax
mov cl, byte [esp + eax + 0x38]
mov byte [esp + eax + 0x13c], cl
inc eax
test cl, cl
jne 0x1000ea52
mov eax, dword [esp + 0x244]
lea edx, [esp + 0x13c]
push edx
push eax
call fcn.1002781c
add esp, 8
test eax, eax
jne 0x1000ea7f
inc edi
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000ea27
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [0x1004bf84]
test al, al
je 0x1000eabc
cmp edi, ebp
push 0
jle 0x1000eaab
push str.RUNNING
jmp 0x1000eab0
push str.NOT_RUNNING
push str.EAINSTALL_isThisProgramRunning
push 0
call fcn.1000e890
mov ecx, dword [esp + 0x10]
dec ecx
cmp edi, ebp
mov dword [esp + 0x10], ecx
jle 0x1000eaf8
mov eax, ecx
test eax, eax
jl 0x1000eaf8
push 0x3e8
call ebx
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000ea10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x230
ret
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
setg al
pop ebx
add esp, 0x230
ret
Function at 0x1000f2c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x410
mov eax, dword [esp + 0x418]
push ebx
push ebp
push esi
mov esi, eax
and eax, 0xf
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
shr esi, 4
mov ecx, 0x1004bf90
inc esi
xor ebp, ebp
call fcn.10010f90
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.1000ede0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test ax, ax
ja 0x1000f319
mov eax, 1
mov edi, dword [esp + 0x424]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceExA]
push eax
movzx esi, si
push esi
push 6
push edi
call ebx
test eax, eax
jne 0x1000f356
push 0x809
push esi
push 6
push edi
call ebx
test eax, eax
jne 0x1000f356
push 0x1009
push esi
push 6
push edi
call ebx
test eax, eax
je 0x1000f3ea
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000f3ea
mov ecx, 1
mov edx, eax
mov dword [esp + 0x10], ecx
xor eax, eax
mov si, word [edx]
add edx, 2
test si, si
je 0x1000f38a
cmp eax, dword [esp + 0x14]
je 0x1000f39e
movsx esi, si
lea edx, [edx + esi*2]
inc eax
cmp eax, 0x10
jl 0x1000f373
pop edi
pop esi
pop ebp
mov ax, cx
pop ebx
add esp, 0x410
ret
mov ebx, dword [esp + 0x430]
mov edi, dword [esp + 0x42c]
mov ecx, ebx
mov ebp, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
push 0
push 0
mov ecx, ebp
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x438]
push eax
movsx ecx, si
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ax, word [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
pop edi
pop esi
mov ax, bp
pop ebp
pop ebx
add esp, 0x410
ret

Function at 0x1000f700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10037fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.1000c7c0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.10001450
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1000f792
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100103d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10038140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x24], 1
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push ebx
mov byte [esp + 0x30], 2
call fcn.10001450
add eax, 0x10
mov dword [edi], eax
mov ebp, dword [esp + 0x38]
add ebp, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push ebp
mov byte [esp + 0x34], 3
call fcn.10001450
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
mov byte [esp + 0x30], 2
call fcn.100101b0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, esi
sub ecx, esi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x10010464
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001048f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100104ac
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100104cb
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x100104e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10038140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x30], 2
call fcn.10001450
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
mov byte [esp + 0x34], 3
call fcn.10001450
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x30], 2
call fcn.100101b0
mov ebx, dword [esp + 0x10]
push ebx
call fcn.1001d927
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001059a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100105b6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100105d5
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x100105f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10038140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x30], 2
call fcn.10001450
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
mov byte [esp + 0x34], 3
call fcn.10001450
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x30], 2
call fcn.100101b0
mov ebx, dword [esp + 0x10]
push ebx
call fcn.1001d927
mov edx, dword [esp + 0x38]
add esp, 4
test eax, eax
setne cl
mov byte [edx], cl
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100106af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100106cb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100106ea
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x10010700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10038140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
call fcn.10030335
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x30], 2
call fcn.10001450
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
mov byte [esp + 0x34], 3
call fcn.10001450
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x30], 2
call fcn.100101b0
mov ebx, dword [esp + 0x10]
push ebx
call fcn.1001d92c
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100107bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100107d9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100107f8
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x10011410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100382bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x610
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.10016a60
mov eax, dword [esp + 0x62c]
push eax
mov dword [esp + 0x628], 0
call fcn.1001dba5
lea ebp, [esi + 0x830]
push ebp
lea ecx, [esi + 0x1c8f]
push ecx
lea edx, [esp + 0x124]
push str._s_s
push edx
call fcn.1001b3f7
add esp, 0x14
xor eax, eax
jmp 0x10011480
mov cl, byte [esp + eax + 0x118]
mov byte [esp + eax + 0x14], cl
inc eax
test cl, cl
jne 0x10011480
lea eax, [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esp + 0x18]
call fcn.10016760
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.100166b0
test al, al
jne 0x100114ef
push 0x400
lea eax, [esp + 0x220]
push eax
push 0x25
call fcn.1000f520
mov eax, dword [esi]
add esp, 0xc
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x224]
push edx
push eax
call dword [0x1004bf88]
xor bl, bl
jmp 0x1001156a
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push edi
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x2000
call esi
push 3
push 0
push 0
push 0x2001
call esi
push 0xa
push 0
push 0
lea edx, [esp + 0x24]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov eax, dword [esp + 0x14]
push 3
push eax
push 0
push 0x2000
setg bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
lea esp, [esp]
push 0x3e8
call edi
dec esi
js 0x10011569
push 0
push ebp
call fcn.1000e9c0
add esp, 8
test al, al
je 0x10011550
pop edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x624], 0xffffffff
call fcn.1000dc30
mov ecx, dword [esp + 0x61c]
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x61c
ret 4
Function at 0x10014000
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x10038238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10015fb0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
call fcn.1000ecb0
add esp, 4
cmp eax, 1
jge 0x10014050
mov al, byte [0x1005027c]
neg al
sbb eax, eax
and eax, 0xffffffee
add eax, 0x13
mov byte [eax + esi + 0x3368], 1
push eax
mov ecx, esi
mov dword [esi + 0x27ec], eax
call fcn.10012e40
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.1000dc30
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10014016
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x10038238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10015fb0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
call fcn.1000ecb0
add esp, 4
cmp eax, 1
jge 0x10014050
mov al, byte [0x1005027c]
neg al
sbb eax, eax
and eax, 0xffffffee
add eax, 0x13
mov byte [eax + esi + 0x3368], 1
push eax
mov ecx, esi
mov dword [esi + 0x27ec], eax
call fcn.10012e40
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.1000dc30
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret