joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003e400
Capabilities:
Get disk information

Disassembly:
sub esp, 0x218
xor eax, eax
push ebp
mov dword [esp + 6], eax
push esi
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x228]
xor ebp, ebp
push edi
cmp eax, 3
mov edi, ecx
mov word [esp + 0xc], bp
jbe 0x1003e42e
mov eax, 3
mov esi, dword [esp + 0x228]
push eax
lea ecx, [esp + 0x10]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov ax, word [esp + 0x18]
add esp, 0xc
cmp ax, 0x43
jb 0x1003e456
cmp ax, 0x5a
jbe 0x1003e462
cmp ax, 0x63
jb 0x1003e48d
cmp ax, 0x7a
ja 0x1003e48d
cmp word [esp + 0xe], 0x3a
jne 0x1003e48d
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, ebp
je 0x1003e48d
cmp eax, 2
je 0x1003e48d
cmp eax, 3
je 0x1003e48d
cmp eax, 5
je 0x1003e48d
cmp eax, 6
jne 0x1003e49b
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret 8
mov eax, dword [edi + 0x5c]
push ebx
xor ebx, ebx
test eax, eax
je 0x1003e4b0
push eax
call fcn.101224d0
add esp, 4
mov ebp, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x28], 0x104
mov word [esp + 0x20], 0
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x1003e547
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
add esi, 4
push esi
call edi
mov edx, eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], edx
call edi
mov ecx, dword [esp + 0x20]
add esp, 8
add ecx, eax
cmp ecx, 0x104
jae 0x1003e547
lea edx, [esp + 0x20]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov eax, dword [esp + 0x238]
mov edx, dword [esp + 0x234]
dec eax
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0x14
mov ebx, 1
test ebp, ebp
je 0x1003e550
call fcn.10122840
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x218
ret 8

Function at 0x100424a0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x2001f
push esi
push ecx
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10042518
mov eax, dword [esp + 4]
cmp eax, esi
je 0x10042518
cmp dword [esp + 0x20], esi
je 0x100424f1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100424fd
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x10042506
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0x18
xor eax, eax
pop esi
pop ecx
ret 0x18
Function at 0x10042670
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
push ebx
xor ebx, ebx
cmp edx, ebx
push ebp
je 0x10042751
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
je 0x10042751
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push 0x1024a618
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
push ecx
push 0x2001f
push ebx
push str.softwareTECOcular.3ShareDataPID
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x10042747
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x10042747
lea edx, [esp + 0x34]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
call esi
test eax, eax
jne 0x1004273b
cmp dword [esp + 0xc], 1
jne 0x1004273b
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x1004273b
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
call esi
test eax, eax
jne 0x1004273b
mov ebx, 1
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x24
ret 0xc
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc

Function at 0x10045010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e523c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.1003bbb0
xor ebp, ebp
lea ecx, [esi + 8]
mov dword [esp + 0x20], ebp
call fcn.10044fb0
lea ecx, [esi + 0x20]
mov dword [esp + 0x20], 1
call fcn.1007f200
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call fcn.10077860
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 3
call fcn.100af020
lea edi, [esi + 0x58]
mov byte [esp + 0x20], 4
mov dword [esp + 0x14], edi
lea ebx, [edi + 4]
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_2
push 0x102747b8
mov ecx, ebx
mov byte [esp + 0x24], 5
mov dword [edi], ebp
call sub.MFC42u.DLL_CString::operator_1
mov dword [edi + 8], ebp
add edi, 0xc
xor eax, eax
lea edx, [esi + 0x48]
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x34], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [edx], ecx
mov eax, esi
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x38], ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10047780
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
mov ecx, 0x10280390
jmp 0x100477b0
push 0xffffffffffffffff
push 0x101e56e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], 0x101fadc4
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x20], edi
mov dword [esi + 0x18], 0x101fadb0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], 0x101fad9c
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], 0x101fad88
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 0xa
mov dword [esi + 0x5c], 0x101fad74
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
lea ebp, [esi + 0x70]
push edi
mov ecx, ebp
mov byte [esp + 0x24], 4
call sub.MFC42u.DLL_CSyncObject::CSyncObject
mov dword [ebp], 0x101f9dd8
add ebp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ebp, [esi + 0x90]
mov dword [esp + 0x14], ebp
mov dword [ebp], 0x101fad70
mov dword [ebp + 4], 0x101fad5c
mov dword [ebp + 8], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
lea ecx, [ebp + 0x18]
mov byte [esp + 0x20], 6
call fcn.1001ad60
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x38]
mov byte [esp + 0x38], 7
call fcn.10047740
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x50]
call fcn.10047440
mov dword [ebp], 0x101fad54
lea ebp, [esi + 0x120]
mov byte [esp + 0x20], 8
mov dword [esp + 0x14], ebp
lea ecx, [ebp + 4]
mov dword [ebp], 0x101fad70
call fcn.1004b600
lea ebx, [ebp + 0x18]
push edi
mov ecx, ebx
mov byte [esp + 0x24], 9
call sub.MFC42u.DLL_CSyncObject::CSyncObject
mov dword [ebx], 0x101f9dd8
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x38]
mov byte [esp + 0x38], 0xa
call fcn.10047740
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x50]
call fcn.10047440
mov dword [ebp], 0x101fad4c
lea ecx, [esi + 0x1b0]
mov byte [esp + 0x20], 0xb
call fcn.1004a540
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x20], 0xc
call fcn.10047b70
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x20], 0xd
call fcn.10047f50
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x2d4], edi
mov dword [esi], 0x101fad48
mov dword [esi + 0x1f4], esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10047b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e5786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x101fad70
mov dword [esi + 8], 0x101fadf4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0xa
lea edi, [esi + 0x24]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x101f9dd8
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x44]
mov byte [esp + 0x30], 1
call fcn.10047740
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x5c]
call fcn.10047440
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x101fadec
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10049b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101e5a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x2710
lea eax, [esi + 0x38]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x3c], 0x100051f0
call fcn.10047440
push 0
lea eax, [esp + 8]
push 0
push eax
mov ecx, 0x10280390
mov dword [esp + 0x58], 0
call fcn.10048b80
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.100474a0
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x10049e40
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x10049e4e
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x30]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10049e82
mov eax, dword [esi + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
pop esi
ret
Function at 0x1004a340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101e5b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x2710
lea eax, [esi + 0x38]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x3c], 0x100051f0
call fcn.10047440
push 0
lea eax, [esp + 8]
push 0
push eax
mov ecx, 0x10280390
mov dword [esp + 0x58], 0
call fcn.10048b80
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.100474a0
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x1004ac40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
lea esi, [ebp + 0xac]
call ebx
mov ecx, dword [esi - 0x10]
test ecx, ecx
jg 0x1004ac6c
mov ecx, dword [esi]
test ecx, ecx
je 0x1004ac6c
sub eax, ecx
cmp eax, 0x493e0
ja 0x1004ac7a
inc edi
add esi, 4
cmp edi, 4
jb 0x1004ac54
pop edi
pop esi
pop ebp
pop ebx
ret
call ebx
push eax
lea eax, [ebp + edi*4 + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1004b000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e5c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 1
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
test eax, eax
mov dword [esp + 0x28], 0
lea ebx, [ecx + 0xc]
je 0x1004b13e
push ebx
call fcn.1003bb80
xor edx, edx
div dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x1004b13e
lea ecx, [esi + 8]
push ebx
push ecx
call fcn.1003bb60
add esp, 8
test eax, eax
jne 0x1004b081
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x1004b063
jmp 0x1004b13e
mov edx, dword [esi]
xor ebx, ebx
mov dword [edi], edx
lea edi, [esi + 0x10]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax]
add edi, 0x40
mov ecx, ebx
dec ebx
test ecx, ecx
jne 0x1004b08a
lea edi, [esi + 8]
xor ebx, ebx
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
add edi, 8
mov eax, ebx
dec ebx
test eax, eax
jne 0x1004b0a1
mov ecx, dword [ebp + 0x18]
mov dword [esi], ecx
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], eax
jne 0x1004b13e
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
je 0x1004b11e
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp ecx, esi
mov dword [esp + 0x10], eax
jbe 0x1004b11e
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x1004b110
lea esi, [ebx + 0x10]
xor edi, edi
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x40
mov ecx, edi
dec edi
test ecx, ecx
jne 0x1004b0e9
lea edx, [ebx + 8]
push 1
push edx
call fcn.1000c360
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1004b0e4
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1004b0da
xor esi, esi
mov eax, dword [ebp + 0xc]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [ebp + 0x1c]
add esp, 4
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], esi
call sub.MFC42u.DLL_CPlex::FreeDataChain
mov dword [ebp + 0x1c], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CSingleLock::Unlock
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 4]
lea ecx, [ebp + eax*4 + 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 4]
push eax
lea eax, [ebp + edx*4 + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x1004b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e5cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebp
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov edi, ecx
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.10047440
lea eax, [edi + 0x24]
push 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x60], 1
lea ebp, [ecx + 0xc]
push ebp
call fcn.1003bb80
xor edx, edx
div dword [edi + 0x10]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1004b22b
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1004b22b
lea edx, [esi + 8]
push ebp
push edx
call fcn.1003bb60
add esp, 8
test eax, eax
jne 0x1004b227
mov esi, dword [esi]
test esi, esi
jne 0x1004b20e
jmp 0x1004b296
test esi, esi
jne 0x1004b22f
xor esi, esi
jmp 0x1004b296
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x54], ecx
mov esi, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 0
call sub.MFC42u.DLL_CSingleLock::Unlock
test esi, esi
je 0x1004b2c1
mov ecx, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
call fcn.10049050
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.1004b000
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.100474a0
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x1004b2f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101e5cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0xac]
push 0xffffffffffffffff
push 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x44]
push eax
push 2
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x48], 0x100051f0
call fcn.10047440
push 0
lea edx, [esp + 8]
push 0
push edx
mov ecx, 0x10280390
mov dword [esp + 0x58], 0
call fcn.10048b80
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x8c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x98], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.100474a0
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x1004d100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x10280668
jmp 0x1004d130
push 0xffffffffffffffff
push 0x101e5e66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0x101faeec
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0xa
lea edi, [esi + 0x20]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x101f9dd8
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x48]
mov byte [esp + 0x30], 1
mov dword [esi + 0x40], 0x101faee4
call fcn.10047740
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x60]
call fcn.10047440
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x101faee0
mov dword [esi + 0x44], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1004d310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101e5ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esi + 0x48]
lea ecx, [esi + 0x40]
push 0
push eax
mov dword [eax], ecx
push 2
push 1
lea ecx, [esp + 0x1c]
mov dword [esi + 0x4c], 0x100051f0
call fcn.10047440
push 0
lea edx, [esp + 8]
push 0
push edx
mov ecx, 0x10280390
mov dword [esp + 0x58], 0
call fcn.10048b80
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x7c], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x90], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x88], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x9c], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.100474a0
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret