joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c55c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10187d70
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
push 0x101c5584
mov dword [esp + 0xc], 0x101975f4
mov dword [esp + 0x10], 0x101c5580
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], 0xf
call fcn.10001a10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x58e8]
mov byte [esp + 0x40], 1
call fcn.100c2b70
cmp dword [esp + 0x30], 0x10
jb 0x100c5661
mov edx, dword [esp + 0x1c]
push edx
call fcn.10157f3b
add esp, 4
push 0x101c5584
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x38
ret 0xc

Function at 0x100c6b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10187eb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [eax]
mov dword [esp + 0x20], 0
call edx
mov bl, al
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x38], 0x10199210
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x30], 0xffffffff
call fcn.100938e0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10157f3b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x1c
Function at 0x100d9a20
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x10183b30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, dword [esp + 0x58]
xor ebx, ebx
cmp edx, ebx
jne 0x100d9a61
xor al, al
jmp 0x100d9b06
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov eax, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea esi, [eax + 1]
jmp 0x100d9a90
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100d9a90
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.10001b80
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 1
call fcn.100f6be6
add esp, 8
cmp dword [esp + 0x24], 0x10
jb 0x100d9ad1
mov edx, dword [esp + 0x10]
push edx
call fcn.10157f3b
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x100d9ae4
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete bl
cmp dword [esp + 0x40], esi
jb 0x100d9b04
mov eax, dword [esp + 0x2c]
push eax
call fcn.10157f3b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101586e7
add esp, 0x48
ret
Function at 0x100dba90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10189f1b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0xc]
mov dword [esi], 0x10199cec
push eax
mov dword [esi + 8], 0x101975e4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.100ab0a0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], eax
mov byte [eax + 0xe1], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x100dc4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1018a047
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x220]
mov ebx, dword [esp + 0x224]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.10076ab0
mov ecx, eax
call fcn.10076ab0
mov eax, dword [esp + 0x1c]
lea edx, [eax - 4]
cmp edx, 0x10
ja 0x100dc70c
cmp dword [esp + 0x14], 0x2800
jle 0x100dc551
push str.invalid_size___
lea ecx, [esp + 0x24]
call fcn.100019a0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x21c], 1
call fcn.10007ea0
push 0x101a38ac
lea ecx, [esp + 0x40]
push ecx
call fcn.101586f6
push eax
lea ecx, [esp + 0x160]
call fcn.100dc940
cmp dword [esp + 0x14], 0
mov dword [esp + 0x218], 2
mov dword [esp + 0x18], 0
jle 0x100dc6c4
lea edx, [esp + 0x15c]
push edx
push ebp
call fcn.100dcd30
add esp, 8
lea ecx, [esp + 0x15c]
call fcn.100dc790
test edx, edx
jl 0x100dc6af
jg 0x100dc5ab
test eax, eax
jbe 0x100dc6af
lea ecx, [esp + 0x15c]
call fcn.100dc7f0
test edx, edx
jl 0x100dc6af
jg 0x100dc5c9
test eax, eax
jb 0x100dc6af
lea ecx, [esp + 0x15c]
call fcn.100dc790
lea ecx, [esp + 0x15c]
mov edi, eax
mov esi, edx
call fcn.100dc7f0
cmp esi, edx
jl 0x100dc6af
jg 0x100dc5f7
cmp edi, eax
jb 0x100dc6af
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x160]
call fcn.100dc760
mov ecx, eax
call fcn.10003250
test al, al
jne 0x100dc6af
lea ecx, [esp + 0x15c]
call fcn.100dc860
push eax
lea ecx, [esp + 0x160]
call fcn.100dc850
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x168]
call fcn.100dc760
push eax
lea edx, [esp + 0x14c]
push edx
call fcn.100f39eb
add esp, 0x10
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x220], 3
call fcn.100d98b0
push eax
lea edx, [esp + 0x68]
push edx
lea ecx, [ebx + 0x24]
mov byte [esp + 0x220], 4
call fcn.100da800
lea ecx, [esp + 0x70]
mov byte [esp + 0x218], 3
call fcn.100abb40
lea ecx, [esp + 0x140]
mov byte [esp + 0x218], 2
call fcn.100019e0
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jl 0x100dc57c
mov ecx, ebx
call fcn.100dbb50
lea ecx, [esp + 0x15c]
mov dword [esp + 0x218], 0xffffffff
call fcn.100dc9c0
mov eax, ebp
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.101586e7
add esp, 0x208
ret
push 0x10
xor esi, esi
push str.invalid_cache___
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.10001b80
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x21c], esi
call fcn.10007ea0
push 0x101a38ac
lea ecx, [esp + 0x40]
push ecx
call fcn.101586f6
int3
Function at 0x100df7d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x138]
push esi
push 0
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100df861
push edi
mov edi, dword [esp + 0x13c]
lea ecx, [esp + 0x30]
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100df840
test dl, dl
je 0x100df83c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100df840
add eax, 2
add ecx, 2
test dl, dl
jne 0x100df820
xor eax, eax
jmp 0x100df845
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100df85a
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100df817
jmp 0x100df860
mov edx, dword [esp + 0x14]
mov dword [ebx], edx
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x130]
pop esi
pop ebx
xor ecx, esp
call fcn.101586e7
add esp, 0x12c
ret 8

Function at 0x100e00a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018a3f1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], 2
call fcn.100df790
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
lea edi, [esi + 0x64]
push eax
push edi
push ecx
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.100612b0
mov ecx, dword [edi + 4]
push ecx
call fcn.10157f3b
xor ebx, ebx
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp dword [esi + 0x60], 0x10
jb 0x100e0117
mov edx, dword [esi + 0x4c]
push edx
call fcn.10157f3b
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], ebx
lea eax, [esi + 0x30]
mov byte [esi + 0x4c], bl
push eax
mov dword [esi + 0x2c], 0x101975e4
call edi
lea ecx, [esi + 0x14]
mov ebx, 0x101975e0
mov dword [esi + 0x2c], ebx
push ecx
mov dword [esi + 0x10], 0x101975e4
call edi
mov dword [esi + 0x10], ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x100e0170
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x1018a41b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x16c]
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x38], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x18], edi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x100e026c
lea edi, [ebx + 0x10]
nop
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100e01f7
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10001b80
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x168], ebx
call fcn.100dff70
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.10001a10
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x164], 0xffffffff
jb 0x100e0251
mov edx, dword [esp + 0x18]
push edx
call fcn.10157f3b
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100e01e0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.101586e7
add esp, 0x158
ret 4

Function at 0x100e02e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018a471
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0x14]
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0xc], eax
push ecx
mov dword [esi + 0x10], 0x101975e4
call edi
lea edx, [esi + 0x30]
push edx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], 0x101975e4
call edi
mov dword [esi + 0x60], 0xf
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
lea edi, [esi + 0x64]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.1005ea10
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x100e09f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x100e0a16
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100e09d0
push 0
push 0
mov byte [esi + 9], 0
call fcn.10158ba9
add esp, 0x18
mov dword [esi], eax
pop esi
ret

Function at 0x100e1330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1018a508
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
lea eax, [esi + 0x10]
mov dword [esp + 0x24], eax
add eax, 4
push eax
mov dword [esp + 0x24], 0x101975f4
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x48], 3
call fcn.10044170
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push edx
mov ecx, edi
call fcn.100440c0
mov eax, dword [esi + 8]
mov ebx, dword [eax]
lea edi, [esi + 4]
mov esi, edi
mov ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ecx
test esi, esi
je 0x100e13c8
cmp esi, edi
je 0x100e13cd
call fcn.1015828d
cmp ebx, dword [esp + 0x2c]
je 0x100e141b
test esi, esi
jne 0x100e13dc
call fcn.1015828d
cmp ebx, dword [esi + 4]
jne 0x100e13e6
call fcn.1015828d
cmp ebx, dword [esi + 4]
lea ebp, [ebx + 0xc]
jne 0x100e13f3
call fcn.1015828d
mov ecx, dword [esp + 0x40]
lea edx, [ebp + 0x14]
push edx
push ebp
call fcn.10009d40
mov ecx, eax
call fcn.10009d40
lea ecx, [esp + 0x18]
call fcn.100e0ac0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x100e13c0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x100e1530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1018a538
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x10]
lea ebx, [eax + 4]
push ebx
mov dword [esp + 0x20], 0x101975f4
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x68]
push edi
lea eax, [esp + 0x18]
add esi, 4
push eax
mov ecx, esi
mov dword [esp + 0x68], 0
call fcn.100e0d30
mov ebp, dword [esp + 0x14]
test ebp, ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
je 0x100e15a1
cmp ebp, esi
je 0x100e15a6
call fcn.1015828d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
je 0x100e15c5
cmp byte [esp + 0x70], 0
je 0x100e15c5
push eax
push ebp
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.100e0da0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov edx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], edx
call fcn.100e1440
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0xc
Function at 0x100e2520
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
push 0x202
mov dword [esi], 0x10199d10
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.101586e7
add esp, 0x194
ret

Function at 0x100e2e00
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x1018a74c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x10199d44
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x28], 3
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100e2e63
mov edx, dword [esi + 0x1c]
push 0x3ff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [eax]
lea edi, [esi + 0x84]
push eax
push edi
push ecx
push edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.100254f0
mov eax, dword [edi + 4]
push eax
call fcn.10157f3b
add esp, 4
lea ecx, [esi + 0x4c]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [esp + 0x24], 2
call fcn.10010f50
lea edx, [esi + 0x28]
mov dword [esi + 0x20], 0x10198870
push edx
mov dword [esi + 0x24], 0x101975e4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edi, 0x101975e0
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 0x10], 0x10198180
call ebx
mov dword [esi + 0x10], edi
mov ecx, dword [esi + 8]
push ecx
mov dword [esi + 4], 0x10198180
call ebx
mov dword [esi + 4], edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x100e2f50
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1018a7b2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 4]
mov dword [esi], 0x10199d44
call fcn.10030590
push ebx
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x70], ebx
call fcn.10030590
lea eax, [esi + 0x28]
mov dword [esi + 0x20], 0x10198870
push eax
mov dword [esi + 0x24], 0x101975e4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esi + 0x40], bl
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x64], 2
mov dword [esi + 0x48], edx
call fcn.10010ec0
mov eax, dword [esp + 0x6c]
lea edi, [esi + 0x84]
mov ecx, edi
mov byte [esp + 0x64], 3
mov dword [esi + 0x80], eax
call fcn.10037260
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
push 0x100e2f10
push ebx
push ebx
mov byte [esp + 0x7c], 4
call fcn.10158ba9
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x100e306f
push 0x2a
push str.create_thread_fail_in_CTcpClientRecvMgr___
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.10001b80
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 5
call fcn.10007ea0
push 0x101a38ac
lea eax, [esp + 0x38]
push eax
call fcn.101586f6
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 0xc
Function at 0x100e7a50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 8]
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x70], 0
je 0x100e7a84
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x24], 0xffffffff
jne 0x100e7a9c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
mov byte [esp + 0xf], 1
je 0x100e7b1f
cmp byte [0x101c503c], 0x64
je 0x100e7b1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x4c], 0
mov dword [esp + 0x14], eax
je 0x100e7b08
lea edi, [esi + 0x44]
mov eax, dword [edi + 4]
mov ebx, dword [eax]
cmp ebx, eax
jne 0x100e7ad1
call fcn.1015828d
mov ecx, dword [esp + 0x14]
sub ecx, dword [ebx + 0x2c]
cmp ecx, 0x7d0
jbe 0x100e7b04
mov edx, dword [edi + 4]
mov eax, dword [edx]
push eax
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.100e7150
mov eax, 1
add dword [esi + 0x5c], eax
add dword [esi + 0x6c], eax
cmp dword [esi + 0x4c], 0
jne 0x100e7ac3
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [esi + 0x2c]
jb 0x100e7b9c
add dword [esi + 0x6c], 1
mov byte [esp + 0xf], 0
jmp 0x100e7b98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x40], 0
mov dword [esp + 0x14], eax
je 0x100e7b76
lea edi, [esi + 0x38]
mov edx, dword [edi + 4]
mov ebx, dword [edx]
cmp ebx, edx
jne 0x100e7b40
call fcn.1015828d
mov eax, dword [esp + 0x14]
sub eax, dword [ebx + 0x2c]
cmp eax, 0x7d0
jbe 0x100e7b72
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
push eax
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.100e7150
mov eax, 1
add dword [esi + 0x5c], eax
add dword [esi + 0x68], eax
cmp dword [esi + 0x40], 0
jne 0x100e7b32
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
add eax, eax
cmp dword [esi + 0x40], eax
jb 0x100e7b9c
mov edx, dword [esi + 0x3c]
mov eax, dword [edx]
lea ecx, [esi + 0x38]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.100e7150
add dword [esi + 0x68], 1
add dword [esi + 0x5c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100e8a60
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100e8a80
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x100e8a96
push 0x80004005
call fcn.10002400
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x100e8ac0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x100e8ad8
push 0x80004005
call fcn.10002400
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100e8ae5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8