joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a4e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44a513
push esi
call fcn.0044d5f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44a50c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44a599
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44a582
mov eax, dword [esi + 8]
test eax, eax
je 0x44a537
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44a57e
cmp eax, 2
je 0x44a582
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44a52a
cmp eax, 3
je 0x44a55d
cmp eax, 1
jne 0x44a52a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44a52a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44a52a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044a5c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44a5a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044a5c0
add esp, 4
pop esi
ret

Function at 0x456510
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4565b3
test eax, eax
jbe 0x4565b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4565b3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45655e
xor esi, esi
jmp 0x456564
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45658f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004584d0
add esi, eax
push esi
mov ebx, esi
call fcn.004584d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x456570
pop ebp
test edi, edi
pop edi
jne 0x4565b3
test ebx, ebx
je 0x4565b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045abc0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4566f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45680d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45680d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046b55f
mov esi, eax
test esi, esi
je 0x45680d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45680d
mov ecx, esi
call fcn.00456660
cmp edi, eax
jge 0x45680d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x456793
mov dword [esp + 0x34], 1
jmp 0x4567ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45680d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00455c20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46bf03
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46bf3b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00469fb7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00469f8f
jmp 0x46bf47
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46d5f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46d637
call fcn.004731aa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46d637
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46d62e
xor eax, eax
jmp 0x46d63f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046d645
pop edi
pop esi
pop ebx
ret 4
Function at 0x4736da
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x473708
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x473726
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00473640
jmp 0x473726
mov eax, dword [esi + 0x14]
test eax, eax
je 0x473726
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00473640
test edi, edi
mov eax, edi
jne 0x473710
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x11106000
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov al, byte [0x110f1158]
test eax, eax
je 0x1110601d
mov cl, byte [0x110f1608]
or cl, 1
mov byte [0x110f1608], cl
cmp dword [0x110f1130], 0
je 0x11106035
mov dl, byte [0x110f1608]
or dl, 8
mov byte [0x110f1608], dl
xor eax, eax
mov al, byte [0x110f1608]
test eax, eax
je 0x1110609f
cmp dword [0x110f113c], 0
je 0x11106059
push 0x110f3dfc
push 0x110f3e00
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [0x11100454]
push ecx
mov dl, byte [0x110f1608]
push edx
push 0x110f13b0
push 0x110f1158
mov eax, dword [0x110f1140]
push eax
mov ecx, dword [0x110f113c]
push ecx
mov edx, dword [0x110f1138]
push edx
mov eax, dword [0x110f1134]
push eax
mov ecx, dword [0x110f1130]
push ecx
push 0x110f1128
call fcn.11109498
add esp, 0x28
pop ebp
ret
Function at 0x1110775f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov word [ebp - 8], 0
call fcn.11108a78
mov word [ebp - 4], ax
cmp dword [0x11100570], 0
je 0x11107789
mov dword [0x11100b44], 0
jmp 0x11107793
mov dword [0x11100b44], 1
cmp dword [0x11100b44], 0
je 0x11107993
cmp dword [0x110f3df8], 1
je 0x111077ba
mov eax, dword [0x110f3df4]
cmp eax, dword [0x110f3df0]
jne 0x1110792c
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
idiv ecx
add edx, 1
mov dword [0x110f3df0], edx
mov dword [0x110f3df4], 1
mov edx, dword [0x11102818]
and edx, 0x1f3
mov dword [0x11100550], edx
mov eax, dword [0x11100550]
mov ecx, dword [eax*4 + 0x110f0010]
xor ecx, 0xfd0699d6
mov dword [0x11100540], ecx
mov dword [0x11100544], 0
push 4
push 0
push 0x11100544
push 0x11100540
movzx dx, byte [0x110f000d]
push edx
push 0x111006ac
call fcn.1110a480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x11107876
mov ecx, dword [0x11100544]
xor ecx, 0x7b2309a7
mov edx, dword [0x11100550]
xor ecx, dword [edx*4 + 0x110f07e0]
test ecx, ecx
je 0x11107920
xor eax, eax
mov al, byte [0x110f2f6a]
cmp eax, 0x31
jne 0x11107888
mov word [ebp - 4], 3
xor ecx, ecx
mov cl, byte [0x110f2f6a]
cmp ecx, 0x32
je 0x111078a2
xor edx, edx
mov dl, byte [0x110f2f6a]
cmp edx, 0x33
jne 0x111078a8
mov word [ebp - 4], 0
mov dword [0x110f3df8], 1
cmp dword [0x11100594], 0
jne 0x1110791e
xor eax, eax
mov al, byte [0x110f2f6a]
cmp eax, 0x32
je 0x111078d4
xor ecx, ecx
mov cl, byte [0x110f2f6a]
cmp ecx, 0x33
jne 0x1110791e
mov edx, dword [0x1110069c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x1110054c], 0xc
push 0x2010
call fcn.111060a1
push eax
call fcn.111088db
add esp, 8
mov dword [0x1110054c], 0
mov eax, dword [0x1110069c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x11100594], 1
jmp 0x1110792a
mov dword [0x110f3df8], 0
jmp 0x11107991
mov ecx, dword [0x110f3df4]
add ecx, 1
mov dword [0x110f3df4], ecx
mov edx, dword [0x11102818]
mov dword [0x11100540], edx
mov dword [0x11100544], 0
push 4
push 0
push 0x11100544
push 0x11100540
push 0
push 0x111006ac
call fcn.1110a480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x1110798b
mov ecx, dword [0x11100544]
xor ecx, dword [0x11102818]
test ecx, ecx
je 0x11107991
mov word [ebp - 4], 3
jmp 0x111079f7
mov edx, dword [0x110f3df4]
add edx, 1
mov dword [0x110f3df4], edx
mov eax, dword [0x11102818]
mov dword [0x11100540], eax
mov dword [0x11100544], 0
push 4
push 0
push 0x11100544
push 0x11100540
push 0
push 0x111006ac
call fcn.1110a480
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
test ecx, ecx
jne 0x111079f1
mov edx, dword [0x11100544]
xor edx, dword [0x11102818]
test edx, edx
je 0x111079f7
mov word [ebp - 4], 3
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x11107ec1
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x11102800
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x11107f3e
mov eax, dword [ebp - 8]
cmp dword [eax*4 + 0x11102820], 0
je 0x11107f2d
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x11102820]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x11107f2d
cmp dword [ebp - 4], 0x103
je 0x11107f2d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x11102820]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x11102820], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.11108116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x11107ed9
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x11107f7a
mov edx, dword [ebp - 8]
cmp dword [edx*4 + 0x11102820], 0
je 0x11107f69
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x11102820]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp - 8]
push edx
call fcn.11108116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x11107f45
mov esp, ebp
pop ebp
ret

Function at 0x11107f7e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x64
jge 0x11107fbe
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x11102820], 0
je 0x11107fad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x11102820]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
push eax
call fcn.11108116
add esp, 4
mov dword [ebp - 4], eax
jmp 0x11107f89
push 0x11102800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret

Function at 0x11109cf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x11109d65
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x11109d3c
mov word [0x11100b50], cx
call fcn.1110c1a0
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x11109d29
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x11109d29
mov word [0x11100b50], ax
call fcn.11109a40
call fcn.11109bd0
call fcn.1110c1a0
add esp, 0x94
ret
Function at 0x1110aa40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.11116160
test eax, eax
jne 0x1110aa70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x1110aa85
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x1110aac9
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x1110aaa9
cmp eax, 0x102
jne 0x1110aab6
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x1110aac0
jmp 0x1110aa8f
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.1110ab40
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x1110aae0
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.11116160
test eax, eax
jne 0x1110aaf8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x1110ab01
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x1110ab14
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1110ab2b
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x1110e380
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push ebx
mov bx, word [esp + 0x220]
neg bx
push ebp
mov ebp, dword [esp + 0x21c]
sbb ebx, ebx
push esi
mov al, byte [ebp]
and ebx, 0xfffffffe
add ebx, 4
push edi
test al, al
je 0x1110e3ce
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x110ff504
mov byte [ebp], 0
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x1110e3f6
jbe 0x1110e3f6
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x1110e3fe
mov dword [esp + 0x14], 0xa
mov ecx, dword [esp + 0x21c]
cmp word [ecx + 0x74], 4
jne 0x1110e411
mov ebx, 2
mov edx, dword [esp + 0x228]
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0xc8]
push eax
push ecx
push edx
push ebx
call fcn.11112c20
test ax, ax
jne 0x1110e586
cmp word [esp + 0x14], ax
mov dword [esp + 0x10], 0x46
mov dword [esp + 0x1c], 0
jbe 0x1110e59b
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea esi, [esp + 0xc4]
mov dword [esp + 0x18], esi
cmp word [esi + 0x20], 0
jbe 0x1110e560
mov ecx, 0x10
xor eax, eax
mov edi, ebp
push 0x110ff4e4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
push eax
call ebx
mov ecx, dword [esp + 0x224]
push esi
push ecx
call fcn.1110d850
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x110ff4e4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x74]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x78]
push 0x110ff4e4
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x40]
push 0x110fe6d0
push edx
call esi
add esp, 0x28
test eax, eax
je 0x1110e50c
lea eax, [esp + 0x20]
push 0x110fe704
push eax
call esi
add esp, 8
test eax, eax
jne 0x1110e51b
push 0x110fe6c0
push ebp
call esi
add esp, 8
test eax, eax
je 0x1110e55c
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x220]
push edx
push ebp
push eax
push ecx
call fcn.1110dcd0
add esp, 0x14
mov dword [esp + 0x10], eax
test ax, ax
je 0x1110e582
lea edx, [esp + 0x60]
push 0x110ff4e4
push edx
call ebx
add esp, 8
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
and ecx, 0xffff
add esi, 0x22
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jl 0x1110e479
mov eax, dword [esp + 0x10]
cmp ax, 0x45
jne 0x1110e59f
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x1110e5b0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x1110e641
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.11117560
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1110e637
mov eax, dword [0x110ff4dc]
mov cx, word [0x110ff4e0]
mov dl, byte [0x110ff4e2]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x1110e688
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x1110e66b
mov dx, word [0x110ff4e0]
mov ecx, dword [0x110ff4dc]
mov al, byte [0x110ff4e2]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.11115fd0
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.11117560
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x1110e720
mov edx, dword [0x110ff558]
mov eax, dword [0x110ff55c]
mov ecx, dword [0x110ff560]
mov dword [esp + 0xd0], edx
mov dx, word [0x110ff564]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x1110e74b
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.11115ef0
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x11100ba8], eax
add esp, 0x4c8
ret
Function at 0x1110eb80
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x1110edbe
mov esi, dword [esp + 0x44]
cmp si, bp
jbe 0x1110edbe
cmp si, 0xffff
jne 0x1110ebbf
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x2c
ret 0xc
push edi
call fcn.1110d550
mov ebx, eax
add ebx, 0x18
cmp word [ebx], 0x7242
jne 0x1110edb0
test byte [ebx + 0x12], 4
jne 0x1110ebee
mov eax, 2
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push esi
push edi
call fcn.11118b30
cmp ax, bp
jne 0x1110edc2
push edi
call fcn.1110eb30
add esp, 4
test ax, ax
je 0x1110ec25
push edi
call fcn.11118c90
cmp ax, bp
jne 0x1110ebb1
push edi
call fcn.1110eb30
add esp, 4
test ax, ax
jne 0x1110ec0c
push edi
call fcn.1110e7a0
mov ecx, dword [0x11102aa8]
push ecx
push eax
call fcn.1110ea10
mov esi, eax
add esp, 0xc
cmp word [esi + 0x76], bp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x1110ec67
push 0x1000
call ebp
test eax, eax
je 0x1110ec67
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
cmp word [esp + 0x48], 1
jne 0x1110eda3
cmp word [0x11100bba], 0
jne 0x1110ecf5
lea edx, [esp + 0x18]
push edx
call fcn.11116180
add esp, 4
test eax, eax
je 0x1110eca1
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x11100bc0], eax
jne 0x1110eccc
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0x1110b880
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x11100bc4], eax
mov word [0x11100bba], 1
cmp word [esi + 0x76], 0
je 0x1110ed1a
push 0x1000
call ebp
test eax, eax
je 0x1110ed1a
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push edi
call fcn.1110e960
add esp, 0xc
test eax, eax
jne 0x1110ed44
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov si, word [esp + 0x10]
mov ecx, dword [0x11100ba8]
neg si
sbb esi, esi
and esi, ecx
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.11118710
mov dx, word [ebx + 0x38]
mov ax, word [ebx + 0x36]
push 0
push 0
push 0
push esi
push 1
push 1
push edx
push eax
push ebx
call fcn.1110f4f0
add esp, 0x24
test ax, ax
je 0x1110eda3
push 0x404
push edi
call fcn.11118890
push edi
call fcn.11118970
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x2c
ret 0xc
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc