joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100262c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10025300
mov dword [ebp - 4], 0x1002e830
mov dword [ebp - 0xc], 0x1002e860
mov word [ebp - 0x218], 0
push 0x1fe
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1000c950
add esp, 0xc
mov dword [ebp - 0x21c], 0x100
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002637e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002636e
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003e50
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002637c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002638c
jmp 0x10026382
xor eax, eax
jmp 0x1002638c
call fcn.100250c0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret

Function at 0x100263a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.10025690
mov dword [ebp - 4], 0x1002e7f0
mov dword [ebp - 0xc], str.Version
mov word [ebp - 0x218], 0
push 0x1fe
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1000c950
add esp, 0xc
mov dword [ebp - 0x21c], 0x100
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002645e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002644e
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003e50
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002645c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002646c
jmp 0x10026462
xor eax, eax
jmp 0x1002646c
call fcn.100254c0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10026700
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100289ba
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10024700
mov word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.1000c950
add esp, 0xc
mov dword [ebp - 0x228], 0
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x228], eax
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x260]
call fcn.10003d90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10003d60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call fcn.100261e0
add esp, 4
push 0x1002e770
lea ecx, [ebp - 0x260]
call fcn.10003e90
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x260]
call fcn.10003e70
lea edx, [ebp - 0x260]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003e30
push 0
lea ecx, [ebp - 0x260]
call fcn.10004010
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10003e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10003e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10026950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028be2
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov word [ebp - 0x644], 0
push 0x400
push 0
lea eax, [ebp - 0x642]
push eax
call fcn.1000c950
add esp, 0xc
mov dword [ebp - 0x230], 0x400
mov word [ebp - 0x224], 0
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.1000c950
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.10003f70
call fcn.10025d20
neg eax
sbb eax, eax
and eax, 0x200
add eax, 1
mov dword [ebp - 0x228], eax
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x228]
push eax
push 0
push str.SoftwareBaiduBaiduAn
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x10026b1c
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x644]
push edx
push 0
push 0
push str.InstallDir
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10026b0f
push 0x104
lea ecx, [ebp - 0x644]
push ecx
push 0x105
lea edx, [ebp - 0x224]
push edx
call fcn.1000c339
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003e50
lea ecx, [ebp - 0x660]
call fcn.10003d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x660]
push ecx
call fcn.100263a0
add esp, 4
test eax, eax
je 0x10026afd
push 0x1002e8e4
mov ecx, dword [ebp + 8]
call fcn.10003e90
lea edx, [ebp - 0x660]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003e70
mov dword [ebp - 0x664], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x660]
call fcn.10003e10
mov eax, dword [ebp - 0x664]
jmp 0x10026b1e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x660]
call fcn.10003e10
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10027170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x10027191
xor al, al
jmp 0x10027201
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x100271a7
xor al, al
jmp 0x10027201
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100271f4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100271e0
mov byte [ebp - 1], 1
jmp 0x100271f4
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100271c5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret
Function at 0x10027c70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028cdf
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x10032118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x304], ecx
mov ecx, dword [ebp + 0xc]
call fcn.1000af00
cmp dword [ebp + 8], 0
jne 0x10027cb6
xor al, al
jmp 0x10027e84
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.10004010
push eax
mov ecx, dword [ebp - 0x304]
call fcn.10004010
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10027cdf
xor al, al
jmp 0x10027e84
lea ecx, [ebp - 0x2c]
call fcn.10003d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003d60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10027b50
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10003e30
push 0x1002c50c
lea ecx, [ebp - 0x4c]
call fcn.10003e90
mov dword [ebp - 0x30], 1
lea edx, [ebp - 0x2a4]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10004010
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x10027d72
mov byte [ebp - 0x2a5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003e10
mov al, byte [ebp - 0x2a5]
jmp 0x10027e84
cmp dword [ebp - 0x30], 1
jne 0x10027e26
mov eax, dword [ebp - 0x2a4]
and eax, 0x10
je 0x10027e26
lea ecx, [ebp - 0x278]
push ecx
call fcn.1001cd70
add esp, 4
movzx edx, al
test edx, edx
je 0x10027e26
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.10003d90
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x30c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.1000adf0
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x314], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x314]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000ae90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e0]
call fcn.10008980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2fc]
call fcn.10003e10
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10027e4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x10027e4d
jmp 0x10027e52
jmp 0x10027d72
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2fd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10003e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003e10
mov al, byte [ebp - 0x2fd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c2ef
mov esp, ebp
pop ebp
ret 8
Function at 0x427cd0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4e67b4
call sym._EnterCriticalSection_4
mov ebx, dword [0x4e67ac]
sub esp, 4
test ebx, ebx
je 0x427d1b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x427d14
test esi, esi
je 0x427d14
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x427cf0
mov dword [esp], 0x4e67b4
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x427f00
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x427f50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x428024
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x427f8e
cmp eax, 4
jne 0x427fb0
test esi, esi
je 0x427fa2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x427f94
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x427fef
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x427fe1
cmp ecx, 0x40
je 0x427fa2
cmp ecx, 4
je 0x427fa2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00427f00
lea esi, [esi]
Function at 0x4284c0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x38
call sym._GetLastError_0
test eax, eax
jne 0x4284d8
add esp, 0x38
pop ebx
ret
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1100
call sym._FormatMessageA_28
sub esp, 0x1c
test eax, eax
jne 0x428528
call sym._IsDebuggerPresent_0
test eax, eax
je 0x4284cf
int3
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._OutputDebugStringA_4
sub esp, 4
mov dword [esp], ebx
call sym._OutputDebugStringA_4
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._LocalFree_4
sub esp, 4
jmp 0x428517

Function at 0x428560
Capabilities:
Check mutex on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp + 8], 0x4e6844
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
jne 0x428628
mov edx, dword [0x4e6800]
mov eax, dword [edx + 4]
test eax, eax
je 0x4285f0
cmp edx, 0x4e6800
jne 0x4285d5
mov dword [0x4e6800], eax
cmp eax, 0x4e6800
je 0x4285dc
lea esi, [esi]
test eax, eax
je 0x428604
mov edx, dword [edx]
mov dword [eax], edx
mov edx, eax
mov eax, dword [edx + 4]
cmp eax, 0x4e6800
jne 0x4285c8
mov eax, dword [0x4e6804]
mov dword [edx + 4], eax
test eax, eax
je 0x428604
mov edx, eax
jmp 0x4285d2
mov dword [esp], 0x4e6880
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x428644
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
mov eax, 0x4d9624
call dbg.__eh_shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
movzx eax, ax
mov dword [esp], eax
call sym._DeleteAtom_4
sub esp, 4
jmp 0x428604
Function at 0x428660
Capabilities:
Check mutex on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call sym._GetCurrentProcessId_0
xor edx, edx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + edx + 0x1c]
mov ecx, eax
and eax, 0xf
shr cl, 4
add eax, 0x61
add ecx, 0x41
mov byte [edx + edx + 0x4e6845], al
mov byte [edx + edx + 0x4e6844], cl
add edx, 1
cmp edx, 4
jne 0x428672
xor eax, eax
mov edx, 0x5f
jmp 0x4286af
movzx edx, byte [eax + str.__eh_shmem3_gcc_tdm_]
mov byte [eax + 0x4e684c], dl
add eax, 1
cmp eax, 0x15
jne 0x4286a8
xor eax, eax
mov edx, 0x5f
jmp 0x4286d7
movzx edx, byte [eax + str.__eh_shmem3_gcc_tdm_]
mov byte [eax + 0x4e6880], dl
add eax, 1
cmp eax, 0x14
jne 0x4286d0
mov dword [esp + 8], 0x4e6844
mov dword [esp + 4], 0
mov dword [esp], 0
mov byte [0x4e6894], 0x2d
mov dword [0x4e6895], 0x61616161
mov dword [0x4e6899], 0x61616161
mov dword [0x4e689d], 0x61616161
mov dword [0x4e68a1], 0x61616161
mov dword [0x4e68a5], 0x61616161
mov dword [0x4e68a9], 0x61616161
mov dword [0x4e68ad], 0x61616161
mov dword [0x4e68b1], 0x61616161
mov byte [0x4e68b5], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov esi, eax
test eax, eax
jne 0x4288ba
mov dword [esp], 0x4e6880
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x428810
mov edx, 0x4e6800
mov eax, 0x20
nop
bt edx, eax
jae 0x4287b0
mov ecx, eax
neg ecx
mov byte [ecx + 0x4e68b5], 0x41
sub eax, 1
jne 0x4287a0
mov dword [esp], 0x4e6880
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x4288a9
mov dword [esp], dbg.__eh_shmem3_gcc_tdm_cleanup_local_region
mov dword [0x4e6800], 0x4e6800
call sym.__onexit
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
mov eax, dword [0x4e6800]
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov ebp, 0x20
mov edi, 1
mov dword [esp + 8], 0x36
mov dword [esp + 4], 0x4e6880
mov dword [esp], eax
call sym._GetAtomNameA_12
mov edx, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x4288d9
lea esi, [esi]
cmp byte [eax + 0x4e6895], 0x41
jne 0x42885b
mov ecx, ebp
mov edx, edi
sub ecx, eax
shl edx, cl
or esi, edx
add eax, 1
cmp eax, 0x20
jne 0x428848
mov eax, esi
mov dword [0x4e6800], eax
jmp 0x42887c
cmp edx, 0x4e6800
je 0x4287e3
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x428870
cmp edx, 0x4e6800
je 0x4287e3
mov dword [edx + 4], 0x4e6800
mov dword [esp], dbg.__eh_shmem3_gcc_tdm_cleanup_local_region
call sym.__onexit
jmp 0x4287e3
mov eax, 0x4d9680
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x4287fe
mov eax, 0x4d965c
call dbg.__eh_shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x4d96a4
call dbg.__eh_shmem_get_error
xor eax, eax
jmp 0x428865
Function at 0x42caf0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 8
mov eax, dword [0x4e6920]
test eax, eax
je 0x42cb70
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x42cb90
mov dword [eax + 0x18], 0x4d30f0
mov ebx, 0x4d30f0
call sym._TlsAlloc_0
mov dword [ebx], eax
mov eax, dword [0x4e6920]
test eax, eax
je 0x42cb48
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x42cb68
mov dword [eax + 0x18], 0x4d30f0
mov eax, 0x4d30f0
cmp dword [eax], 0xffffffff
je sym._pthread_tls_init.cold
add esp, 8
pop ebx
ret
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x4e6920]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x42cb2b
test eax, eax
jne 0x42cb68
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x42cb37
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ebx, dword [eax + 0x18]
mov eax, dword [0x4e6920]
test ebx, ebx
je 0x42cb08
test eax, eax
jne 0x42cb90
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov ebx, dword [eax + 0x18]
jmp 0x42cb14

Function at 0x42cba0
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call sym._GetCurrentThreadId_0
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.__ultoa
cmp byte [esp + 0x3c], 0
je 0x42cc7a
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x42cc4d
cmp eax, 0x6a
je 0x42cc6a
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0x42cc48
cmp eax, 0x6a
je 0x42cc6a
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call sym._OutputDebugStringA_4
sub esp, 4
call sym._abort
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x42cc60
Function at 0x42fe80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x42fea2
call sym.__pthread_cleanup_dest.part.0
test byte [ebx + 0x20], 0x30
je 0x430047
mov eax, dword [0x4e6920]
test eax, eax
je 0x42ff28
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x42ff48
mov dword [eax + 0x18], 0x4d30f0
mov eax, 0x4d30f0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
test eax, eax
je 0x42ff13
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
je 0x42ff50
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x42ff02
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x42fff8
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ecx, dword [eax + 0x18]
mov eax, dword [0x4e6920]
test ecx, ecx
je 0x42fec0
test eax, eax
jne 0x42ff48
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x42fecc
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x42ff65
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebx + 0xb0]
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], 0
test eax, eax
je 0x42ffe8
mov eax, dword [0x4e6920]
test eax, eax
je 0x42ffc0
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x42ffe0
mov dword [eax + 0x18], 0x4d30f0
mov eax, 0x4d30f0
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x4e6920]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x42ff89
test eax, eax
jne 0x42ffe0
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x42ff95
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x42ff79
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call sym._CloseHandle_4
mov ecx, dword [ebx + 0xb0]
mov dword [ebx + 0x14], 0
sub esp, 4
test ecx, ecx
jne 0x430024
mov eax, ebx
call sym._push_pthread_mem.part.0
mov eax, dword [0x4e6920]
test eax, eax
jne 0x42ff82
call sym.___shmem3_winpthreads_tdm_init_local_region
mov eax, dword [eax + 0x18]
test eax, eax
mov eax, dword [0x4e6920]
jne 0x42ffd3
jmp 0x42ff89
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
lea esi, [esi]