joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023dd0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x130
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0xc], 0x64
call fcn.1006d010
test eax, eax
je 0x10023e67
mov eax, dword [ebp + 0x1558]
test eax, eax
jne 0x10023e43
mov ecx, dword [ebp + 0x1554]
mov edx, dword [ecx - 8]
test edx, edx
je 0x10023e32
mov eax, dword [0x101f1d98]
test eax, eax
je 0x10023f39
mov edx, ecx
push edx
push str.CSDKMgr::RefreshUser_1__s
jmp 0x10023f25
test eax, eax
jne 0x10023e43
mov eax, dword [ebp + 0x1554]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10023e9e
lea ecx, [esp + 0x10]
push 0x64
push ecx
call fcn.10014c70
mov eax, dword [0x101f1d98]
add esp, 8
test eax, eax
je 0x10023e9e
lea edx, [esp + 0x10]
push edx
push str.CSDKMgrentU::RefreshUser_2__S
jmp 0x10023e8a
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [0x101f1d98]
test eax, eax
je 0x10023e9e
lea edx, [esp + 0x10]
push edx
push str.CSDKMgr::RefreshUser_3__S
push str.UserInfo
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10023f39
mov ecx, 0x31
lea edi, [esp + 0x76]
mov word [esp + 0x74], ax
push 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x78]
lea ecx, [esp + 0x14]
push eax
push 0xffffffffffffffff
push ecx
call fcn.100127a0
mov eax, dword [ebp + 0x1554]
lea esi, [ebp + 0x1554]
lea edx, [esp + 0x84]
push edx
push eax
call fcn.10055d2e
add esp, 0x18
test eax, eax
je 0x10023f39
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call fcn.100339e0
lea edx, [esp + 0x74]
lea ecx, [ebp + 0x16a4]
push edx
call fcn.1001c030
mov eax, dword [0x101f1d98]
test eax, eax
je 0x10023f39
mov eax, dword [esi]
push eax
push str.CSDKMgr::RefreshUser_4__S
push str.UserInfo
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
pop edi
pop esi
pop ebp
add esp, 0x130
ret

Function at 0x100240a0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x172c]
mov ecx, edi
call fcn.10043430
test eax, eax
je 0x10024147
mov ecx, edi
call fcn.10025cb0
mov edi, dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
je 0x100240d9
mov eax, dword [esi + 0x168c]
push 0
push 0
push 0x12
push eax
call edi
mov eax, dword [esi + 0x1694]
test eax, eax
je 0x10024147
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1694]
cmp ecx, eax
ja 0x10024147
lea edx, [ecx + 0x124f80]
cmp edx, eax
jae 0x10024147
mov edx, dword [0x101f1d98]
test edx, edx
je 0x10024122
push eax
push ecx
push str.CSDKMgr::_CheckNeedExitServer___________08x___08x_
push str.UserInfo
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x18
mov eax, dword [esi + 0x168c]
push 0
push 0
push 0x12
push eax
call edi
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf106
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
xor eax, eax
pop esi
ret
Function at 0x10024490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10187f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10043060
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], edi
call fcn.10040080
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi], 0x101916f0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10024710
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1018805e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x10024750
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x30], edi
mov ecx, dword [ebp + 0x28]
cmp ecx, edi
je 0x10024770
lea edx, [esp + 0x20]
push edx
call fcn.10022d80
mov ebx, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], edi
jmp 0x1002478f
push 0x101f1d00
lea ecx, [esp + 0x20]
call fcn.10032fc0
mov ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], 1
push eax
lea ecx, [esp + 0x14]
call fcn.10032d60
test bl, 2
mov dword [esp + 0x34], 4
je 0x100247b6
and ebx, 0xfffffffd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.10033760
test bl, 1
mov dword [esp + 0x34], 3
je 0x100247cc
lea ecx, [esp + 0x20]
call fcn.10033760
mov eax, dword [esp + 0x10]
push eax
call fcn.100132b0
mov esi, eax
add esp, 4
neg esi
sbb esi, esi
push 0x101b3544
lea ecx, [esp + 0x14]
inc esi
call fcn.100343b0
push str.MEMSS
lea ecx, [esp + 0x14]
call fcn.100343b0
push 0x101b3544
push 0x101ae4fc
lea ecx, [esp + 0x18]
call fcn.100356a0
lea ecx, [esp + 0x10]
call fcn.10034a90
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1002dc80
mov ecx, dword [ebp + 0x28]
mov byte [esp + 0x34], 5
cmp ecx, edi
je 0x10024937
call fcn.10022e00
test eax, eax
je 0x10024937
lea ecx, [esp + 0x24]
call fcn.10040910
mov bl, 6
mov edi, 0x20019
mov byte [esp + 0x34], bl
call fcn.1006cf80
test eax, eax
je 0x10024865
mov edi, 0x20219
push edi
push str.softwareTECOcular.3AgentTKS
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x30]
call fcn.10040a80
test eax, eax
jne 0x10024899
push edi
push str.softwareTECOcular.3AgentTKS
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x30]
call fcn.10040af0
test eax, eax
je 0x10024927
push 0x101f1d04
lea ecx, [esp + 0x18]
call fcn.1002dab0
test esi, esi
mov byte [esp + 0x34], 7
je 0x100248d4
call fcn.100132f0
mov edx, dword [esp + 0x18]
push eax
push edx
push str.TKSPID
lea eax, [esp + 0x20]
push str._s__s__d
push eax
call fcn.10031240
add esp, 0x14
jmp 0x100248f0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push str.TKSPID
push str._s__s
push edx
call fcn.10031240
add esp, 0x10
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.10040c20
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.10040ad0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call fcn.1002e3e0
test esi, esi
je 0x10024927
push 0
push esi
call fcn.10088230
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call fcn.10040a00
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [ebp + 0x2c], edi
mov byte [esp + 0x34], 3
call fcn.1002e3e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x10025500
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x10188266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x10025674
push ebx
push edi
call fcn.10069d80
mov ecx, dword [esi + 0x28]
mov edi, eax
test ecx, ecx
je 0x1002555e
lea eax, [esp + 0x18]
push eax
call fcn.10022d80
mov ebx, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 0
jmp 0x1002557d
push 0x101f1d00
lea ecx, [esp + 0x18]
call fcn.10032fc0
mov ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 1
push eax
lea ecx, [esp + 0x10]
call fcn.10032d60
test bl, 2
mov dword [esp + 0x24], 4
je 0x100255a4
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.10033760
test bl, 1
mov dword [esp + 0x24], 3
je 0x100255ba
lea ecx, [esp + 0x18]
call fcn.10033760
push 0x101b3544
lea ecx, [esp + 0x10]
call fcn.100343b0
push str.TKS_RUN
lea ecx, [esp + 0x10]
call fcn.100343b0
lea ecx, [esp + 0xc]
call fcn.10034a90
mov ecx, dword [esp + 0xc]
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
pop edi
mov dword [esi + 0x94], eax
test eax, eax
pop ebx
jne 0x1002561c
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10033760
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10025663
mov edx, dword [esi + 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
mov dword [esi + 0x94], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.10033760
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x100256b0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x101882a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x10025824
push ebx
push edi
call fcn.10069d80
mov ecx, dword [esi + 0x28]
mov edi, eax
test ecx, ecx
je 0x1002570e
lea eax, [esp + 0x18]
push eax
call fcn.10022d80
mov ebx, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 0
jmp 0x1002572d
push 0x101f1d00
lea ecx, [esp + 0x18]
call fcn.10032fc0
mov ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 1
push eax
lea ecx, [esp + 0x10]
call fcn.10032d60
test bl, 2
mov dword [esp + 0x24], 4
je 0x10025754
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.10033760
test bl, 1
mov dword [esp + 0x24], 3
je 0x1002576a
lea ecx, [esp + 0x18]
call fcn.10033760
push 0x101b3544
lea ecx, [esp + 0x10]
call fcn.100343b0
push str.TKS_START
lea ecx, [esp + 0x10]
call fcn.100343b0
lea ecx, [esp + 0xc]
call fcn.10034a90
mov ecx, dword [esp + 0xc]
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
pop edi
mov dword [esi + 0x98], eax
test eax, eax
pop ebx
jne 0x100257cc
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10033760
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10025813
mov edx, dword [esi + 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 4]
mov dword [esi + 0x98], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.10033760
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x10027250
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x10188486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x224]
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push ebx
mov esi, ecx
push eax
xor ebp, ebp
call fcn.10026fc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], ebp
push ecx
mov ecx, esi
call fcn.10022d80
push 0x101b3544
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 1
call fcn.100343b0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.10034410
lea ecx, [esp + 0x10]
call fcn.10034a90
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0x103
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.10027210
lea edx, [esp + 0x18]
push edx
push ebp
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x1002730e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10027319
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1002731e
mov ebp, 1
mov eax, dword [0x101f1d98]
test eax, eax
je 0x10027346
lea eax, [esp + 0x18]
push eax
push ebp
push str.CSDKMgr::IsServerRunning___d___s_
push str.MonThread
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 0
call fcn.10033760
lea ecx, [esp + 0x14]
mov dword [esp + 0x228], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x220]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret 4
Function at 0x10027700
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x101884e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x224]
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push ebx
mov esi, ecx
push eax
xor ebp, ebp
call fcn.10026fc0
lea ecx, [esi + 0x1538]
mov dword [esp + 0x228], ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.10032d60
push 0x101b3544
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 1
call fcn.100343b0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.10034410
lea ecx, [esp + 0x10]
call fcn.10034a90
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0x103
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.10027210
lea edx, [esp + 0x18]
push edx
push ebp
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x100277c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100277cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100277d2
mov ebp, 1
mov eax, dword [0x101f1d98]
test eax, eax
je 0x100277fa
lea eax, [esp + 0x18]
push eax
push ebp
push str.CSDKMgr::IsServerStart___d___s_
push str.MonThread
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 0
call fcn.10033760
lea ecx, [esp + 0x14]
mov dword [esp + 0x228], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x220]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret 4
Function at 0x10028810
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x101f8f40
jmp 0x100288c0

Function at 0x10028850
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x101f8fb0
jmp 0x10029640
Function at 0x10028c50
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x101886fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x10028c90
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x44], edi
mov ecx, dword [ebp + 0x3c]
cmp ecx, edi
je 0x10028cb0
lea edx, [esp + 0x20]
push edx
call fcn.10022d80
mov ebx, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], edi
jmp 0x10028ccf
push 0x101f1d00
lea ecx, [esp + 0x20]
call fcn.10032fc0
mov ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], 1
push eax
lea ecx, [esp + 0x14]
call fcn.10032d60
test bl, 2
mov dword [esp + 0x34], 4
je 0x10028cf6
and ebx, 0xfffffffd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.10033760
test bl, 1
mov dword [esp + 0x34], 3
je 0x10028d0c
lea ecx, [esp + 0x20]
call fcn.10033760
mov eax, dword [esp + 0x10]
push eax
call fcn.100132b0
mov esi, eax
add esp, 4
neg esi
sbb esi, esi
push 0x101b3544
lea ecx, [esp + 0x14]
inc esi
call fcn.100343b0
push str.MEMSS
lea ecx, [esp + 0x14]
call fcn.100343b0
push 0x101b3544
push 0x101ae4fc
lea ecx, [esp + 0x18]
call fcn.100356a0
lea ecx, [esp + 0x10]
call fcn.10034a90
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1002dc80
mov ecx, dword [ebp + 0x3c]
mov byte [esp + 0x34], 5
cmp ecx, edi
je 0x10028e79
mov edx, dword [ebp + 0x28]
push edx
call fcn.10027250
test eax, eax
je 0x10028e79
lea ecx, [esp + 0x24]
call fcn.10040910
mov bl, 6
mov edi, 0x20019
mov byte [esp + 0x34], bl
call fcn.1006cf80
test eax, eax
je 0x10028da9
mov edi, 0x20219
push edi
push str.softwareTECOcular.3AgentTKS
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x30]
call fcn.10040a80
test eax, eax
jne 0x10028ddd
push edi
push str.softwareTECOcular.3AgentTKS
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x30]
call fcn.10040af0
test eax, eax
je 0x10028e69
push 0x101f1d04
lea ecx, [esp + 0x18]
call fcn.1002dab0
test esi, esi
mov byte [esp + 0x34], 7
je 0x10028e17
call fcn.100132f0
mov ecx, dword [ebp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push eax
push ecx
push str._s__s__d
push edx
call fcn.10031240
add esp, 0x14
jmp 0x10028e32
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s__s
push edx
call fcn.10031240
add esp, 0x10
mov eax, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.10040c20
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.10040ad0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call fcn.1002e3e0
test esi, esi
je 0x10028e69
push 0
push esi
call fcn.10088230
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call fcn.10040a00
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [ebp + 0x40], edi
mov byte [esp + 0x34], 3
call fcn.1002e3e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x10029be0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x1018897f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 8], ebp
cmp dword [esi + 0x9c], ebp
jne 0x10029e26
push ebx
push edi
call fcn.10069d80
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x10029c3f
lea eax, [esp + 0x18]
push eax
call fcn.10022d80
mov ebx, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x23c], ebp
jmp 0x10029c61
push 0x101f1d00
lea ecx, [esp + 0x24]
call fcn.10032fc0
mov ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x23c], 1
push eax
lea ecx, [esp + 0x18]
call fcn.10032d60
test bl, 2
mov dword [esp + 0x23c], 4
je 0x10029c8b
and ebx, 0xfffffffd
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call fcn.10033760
mov edi, 3
test bl, 1
mov dword [esp + 0x23c], edi
je 0x10029cac
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
call fcn.10033760
push 0x101b3544
lea ecx, [esp + 0x18]
call fcn.100343b0
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x10029ce0
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.10026fc0
or ebx, 4
mov dword [esp + 0x10], ebx
mov byte [esp + 0x23c], 5
jmp 0x10029d00
push 0x101f1d00
lea ecx, [esp + 0x2c]
call fcn.10032fc0
or ebx, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x23c], 6
push eax
lea ecx, [esp + 0x18]
call fcn.10034410
test bl, 8
mov dword [esp + 0x23c], 5
je 0x10029d2a
and ebx, 0xfffffff7
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.10033760
test bl, 4
mov dword [esp + 0x23c], edi
je 0x10029d3f
lea ecx, [esp + 0x1c]
call fcn.10033760
lea ecx, [esp + 0x14]
call fcn.10034a90
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x30]
stosw word es:[edi], ax
pop edi
cmp ecx, ebp
pop ebx
je 0x10029d7d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x24]
push 0x103
push edx
mov edx, dword [esi + 0x28]
push eax
push edx
call fcn.10027210
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebp
mov dword [esi + 0x9c], eax
jne 0x10029dc5
lea ecx, [esp + 0xc]
mov dword [esp + 0x234], 0xffffffff
call fcn.10033760
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10029e12
mov edx, dword [esi + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esi + 0x9c], ebp
mov dword [esp + 0x234], 0xffffffff
call fcn.10033760
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x234], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x22c]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x10029e70
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x10188a0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 8], ebp
cmp dword [esi + 0xa0], ebp
jne 0x1002a0b6
push ebx
push edi
call fcn.10069d80
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x10029ecf
lea eax, [esp + 0x18]
push eax
call fcn.10022d80
mov ebx, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x23c], ebp
jmp 0x10029ef1
push 0x101f1d00
lea ecx, [esp + 0x24]
call fcn.10032fc0
mov ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x23c], 1
push eax
lea ecx, [esp + 0x18]
call fcn.10032d60
test bl, 2
mov dword [esp + 0x23c], 4
je 0x10029f1b
and ebx, 0xfffffffd
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call fcn.10033760
mov edi, 3
test bl, 1
mov dword [esp + 0x23c], edi
je 0x10029f3c
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebx
call fcn.10033760
push 0x101b3544
lea ecx, [esp + 0x18]
call fcn.100343b0
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x10029f70
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.10027080
or ebx, 4
mov dword [esp + 0x10], ebx
mov byte [esp + 0x23c], 5
jmp 0x10029f90
push 0x101f1d00
lea ecx, [esp + 0x2c]
call fcn.10032fc0
or ebx, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x23c], 6
push eax
lea ecx, [esp + 0x18]
call fcn.10034410
test bl, 8
mov dword [esp + 0x23c], 5
je 0x10029fba
and ebx, 0xfffffff7
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call fcn.10033760
test bl, 4
mov dword [esp + 0x23c], edi
je 0x10029fcf
lea ecx, [esp + 0x1c]
call fcn.10033760
lea ecx, [esp + 0x14]
call fcn.10034a90
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x30]
stosw word es:[edi], ax
pop edi
cmp ecx, ebp
pop ebx
je 0x1002a00d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x24]
push 0x103
push edx
mov edx, dword [esi + 0x28]
push eax
push edx
call fcn.10027210
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebp
mov dword [esi + 0xa0], eax
jne 0x1002a055
lea ecx, [esp + 0xc]
mov dword [esp + 0x234], 0xffffffff
call fcn.10033760
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1002a0a2
mov edx, dword [esi + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esi + 0xa0], ebp
mov dword [esp + 0x234], 0xffffffff
call fcn.10033760
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x234], 0xffffffff
call fcn.10033760
mov ecx, dword [esp + 0x22c]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x230
ret