joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dddc0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
push 0x202
mov dword [esi], 0x1019bd0c
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10159cce
add esp, 0x194
ret

Function at 0x100de6a0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x1018ca8c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
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], 0x1019bd40
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 0x100de703
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.100d91d0
mov eax, dword [edi + 4]
push eax
call fcn.10159534
add esp, 4
lea ecx, [esi + 0x4c]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [esp + 0x24], 2
call fcn.1000ed40
lea edx, [esi + 0x28]
mov dword [esi + 0x20], 0x1019a840
push edx
mov dword [esi + 0x24], 0x10199604
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edi, 0x10199600
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 0x10], 0x1019a1a0
call ebx
mov dword [esi + 0x10], edi
mov ecx, dword [esi + 8]
push ecx
mov dword [esi + 4], 0x1019a1a0
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 0x100de7f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1018caf2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
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], 0x1019bd40
call fcn.1002e260
push ebx
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x70], ebx
call fcn.1002e260
lea eax, [esi + 0x28]
mov dword [esi + 0x20], 0x1019a840
push eax
mov dword [esi + 0x24], 0x10199604
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.1000ecb0
mov eax, dword [esp + 0x6c]
lea edi, [esi + 0x84]
mov ecx, edi
mov byte [esp + 0x64], 3
mov dword [esi + 0x80], eax
call fcn.100a74b0
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 0x100de7b0
push ebx
push ebx
mov byte [esp + 0x7c], 4
call fcn.1015a189
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x100de90f
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.10005610
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 5
call fcn.100064d0
push 0x101aa894
lea eax, [esp + 0x38]
push eax
call fcn.10159cdd
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 0x100e2310
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 0x100e2344
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 0x100e235c
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 0x100e23df
cmp byte [0x101cc03c], 0x64
je 0x100e23df
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x4c], 0
mov dword [esp + 0x14], eax
je 0x100e23c8
lea edi, [esi + 0x44]
mov eax, dword [edi + 4]
mov ebx, dword [eax]
cmp ebx, eax
jne 0x100e2391
call fcn.1015988d
mov ecx, dword [esp + 0x14]
sub ecx, dword [ebx + 0x2c]
cmp ecx, 0x7d0
jbe 0x100e23c4
mov edx, dword [edi + 4]
mov eax, dword [edx]
push eax
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.100e1a10
mov eax, 1
add dword [esi + 0x5c], eax
add dword [esi + 0x6c], eax
cmp dword [esi + 0x4c], 0
jne 0x100e2383
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [esi + 0x2c]
jb 0x100e245c
add dword [esi + 0x6c], 1
mov byte [esp + 0xf], 0
jmp 0x100e2458
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x40], 0
mov dword [esp + 0x14], eax
je 0x100e2436
lea edi, [esi + 0x38]
mov edx, dword [edi + 4]
mov ebx, dword [edx]
cmp ebx, edx
jne 0x100e2400
call fcn.1015988d
mov eax, dword [esp + 0x14]
sub eax, dword [ebx + 0x2c]
cmp eax, 0x7d0
jbe 0x100e2432
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
push eax
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.100e1a10
mov eax, 1
add dword [esi + 0x5c], eax
add dword [esi + 0x68], eax
cmp dword [esi + 0x40], 0
jne 0x100e23f2
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
add eax, eax
cmp dword [esi + 0x40], eax
jb 0x100e245c
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.100e1a10
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 0x100e3360
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 0x100e3380
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x100e3396
push 0x80004005
call fcn.100e30c0
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 0x100e33c0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x100e33d8
push 0x80004005
call fcn.100e30c0
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 0x100e33e5
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
Function at 0x100e3b40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x100e3bae
test ecx, ecx
je 0x100e3ba0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x100e3bbc
test ecx, ecx
je 0x100e3c61
push ecx
jmp 0x100e3c5b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x100e3c2e
jmp 0x100e3bf0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.100e3b40
mov edi, eax
test edi, edi
jne 0x100e3c7d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x100e3bf0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100e3c45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100e3c61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10159cce
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100e3c8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x100e3c63
Function at 0x100eab45
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x40
mov eax, 0x1018e020
call fcn.1015e3cb
mov ecx, dword [ebp + 0x110]
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
call fcn.10004840
mov edi, 0x104
push edi
xor ebx, ebx
lea eax, [ebp]
push esi
inc ebx
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ebx
call fcn.101596b0
add esp, 0xc
push ebx
push 0x23
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100eac1e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10006620
push str.BaiduBDDownload
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.1002a900
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push esi
push eax
mov byte [ebp - 4], 2
call fcn.1000a7c0
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.10003eb0
push esi
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10003eb0
push edi
lea eax, [ebp]
push esi
push eax
call fcn.101596b0
push dword [ebp - 0x10]
call fcn.100ea69b
add esp, 0x10
test al, al
jne 0x100eac18
push dword [ebp - 0x10]
call fcn.100ea797
pop ecx
jmp 0x100eac1a
mov al, bl
test al, al
jne 0x100eac2b
mov ecx, dword [ebp - 0x10]
push 0x101997b5
call fcn.1002f5d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10159cce
add ebp, 0x108
leave
ret
Function at 0x100eac51
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x40
mov eax, 0x1018e084
call fcn.1015e3cb
mov edi, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.10004840
push 0x104
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x10], esi
call fcn.101596b0
mov al, byte [ebp + 0x23c]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100ead2b
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.10006620
lea ecx, [ebp + 0x220]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.1002a9c0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.1000a7c0
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.10003eb0
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003eb0
push edi
call fcn.100ea69b
test al, al
pop ecx
jne 0x100ead25
push edi
call fcn.100ea797
pop ecx
jmp 0x100ead27
mov al, 1
cmp al, bl
jne 0x100ead97
push 0x104
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.101596b0
add esp, 0xc
push 0x105
lea eax, [ebp + 0x104]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x104]
push 0x5c
push eax
call fcn.1015cc70
cmp eax, ebx
pop ecx
pop ecx
je 0x100ead6f
mov byte [eax], bl
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x30]
call fcn.10006620
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10005470
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.10003eb0
push ebx
push esi
lea ecx, [ebp + 0x220]
call fcn.10003eb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.10159cce
add ebp, 0x210
leave
ret
Function at 0x100eb096
Capabilities:
Enumerate process modules

Disassembly:
push 0x260
mov eax, 0x1018e192
call fcn.1015e434
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100eb13e
lea eax, [ebp - 0x26c]
push eax
push edi
mov dword [ebp - 0x26c], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x100eb137
xor esi, esi
push str.TcpIpDog
lea ecx, [ebp - 0x2c]
call fcn.10006620
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.10006620
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.100e9728
cmp eax, 0xffffffff
push esi
lea ecx, [ebp - 0x48]
push 1
jne 0x100eb146
call fcn.10003eb0
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003eb0
lea eax, [ebp - 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x100eb0db
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.1015e4b7
ret
call fcn.10003eb0
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003eb0
mov al, 1
jmp 0x100eb140
Function at 0x100ecd2f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0xc00
lea ebp, [esp - 4]
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0xc00], eax
push 0x40
mov eax, 0x1018e4bd
call fcn.1015e3cb
xor esi, esi
cmp dword [0x101cf1e8], esi
je 0x100ecd67
mov eax, 0x101cf1d4
jmp 0x100ecece
mov ebx, 0x3ff
push ebx
lea eax, [ebp + 0x801]
push esi
push eax
mov byte [ebp + 0x800], 0
call fcn.101596b0
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
lea edi, [ebx + 1]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 1]
push esi
push eax
mov byte [ebp], 0
call fcn.101596b0
add esp, 0xc
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov esi, 0x101cf1d4
je 0x100ece05
lea eax, [ebp + 0x800]
push eax
call fcn.100d4b40
test al, al
pop ecx
je 0x100ece05
cmp dword [ebp - 0x14], 0
je 0x100ecdf7
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.1015ef50
test eax, eax
pop ecx
pop ecx
jne 0x100ecdf7
push 0x101997b5
jmp 0x100ecdfe
lea eax, [ebp + 0x800]
push eax
mov ecx, esi
call fcn.1002f5d0
push 0x101997b5
mov ecx, esi
call fcn.100357e0
test eax, eax
jne 0x100ece51
push ebx
mov byte [ebp + 0x400], al
xor ebx, ebx
lea eax, [ebp + 0x401]
push ebx
push eax
call fcn.101596b0
add esp, 0xc
push edi
lea eax, [ebp + 0x400]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x100ece53
lea eax, [ebp + 0x400]
push eax
mov ecx, esi
call fcn.1002f5d0
jmp 0x100ece53
xor ebx, ebx
push 0x101997b5
mov ecx, esi
call fcn.100357e0
test eax, eax
je 0x100ececc
or edi, 0xffffffff
push edi
push 0x1019a068
mov ecx, esi
call fcn.1002a100
cmp eax, edi
je 0x100eceb8
push eax
mov ecx, esi
call fcn.10025720
push eax
push ebx
mov ecx, esi
call fcn.10025720
push eax
lea ecx, [ebp - 0x4c]
call fcn.100ecb61
push edi
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10005470
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], edi
call fcn.10003eb0
push str._bdt_
mov ecx, esi
call fcn.1002a740
push esi
lea ecx, [ebp - 0x30]
call fcn.10005ff0
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10003eb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc00]
xor ecx, ebp
call fcn.10159cce
add ebp, 0xc04
leave
ret
Function at 0x100ecef1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x3c
mov eax, 0x1018e4f5
call fcn.1015e3cb
xor ebx, ebx
cmp dword [0x101cf1cc], ebx
je 0x100ecf29
mov eax, 0x101cf1b8
jmp 0x100ed009
mov edi, 0x3ff
push edi
lea eax, [ebp + 0x401]
push ebx
push eax
mov byte [ebp + 0x400], bl
call fcn.101596b0
add esp, 0xc
lea eax, [ebp + 0x400]
push eax
lea esi, [edi + 1]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.101596b0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp - 0x10], ebx
mov edi, eax
mov esi, 0x101cf1b8
je 0x100ed007
lea eax, [ebp + 0x400]
push eax
call fcn.100d4b40
test al, al
pop ecx
je 0x100ed007
cmp edi, ebx
je 0x100ecfbe
lea eax, [ebp]
push eax
lea eax, [ebp + 0x400]
push eax
call fcn.1015ef50
test eax, eax
pop ecx
pop ecx
jne 0x100ecfbe
push 0x101997b5
mov ecx, esi
call fcn.1002f5d0
jmp 0x100ed007
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006620
push str.bdp.tmp_
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.1002a900
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10005470
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10003eb0
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10003eb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.10159cce
add ebp, 0x804
leave
ret

Function at 0x100ef3f0
Capabilities:
Create thread

Disassembly:
push 0x4c
mov eax, 0x1018e88d
call fcn.1015e3cb
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.100ee494
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call fcn.10001460
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.1002e260
push edi
push edi
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.1002e260
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x100ef152
push edi
push edi
mov byte [ebp - 4], 3
call fcn.1015a189
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x100ef478
push str.create_thread_failed
lea ecx, [ebp - 0x30]
call fcn.10006620
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.100064d0
push eax
mov byte [ebp - 4], 5
call fcn.100714d0
mov eax, esi
call fcn.1015e4a3
ret

Function at 0x100ef480
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100ef4a9
push pe_nt_image_headers32
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x34]
call fcn.1002e2f0
lea ecx, [esi + 0x28]
call fcn.1002e2f0
lea ecx, [esi + 0xc]
call fcn.10001480
mov ecx, esi
pop esi
jmp fcn.100eef54
Function at 0x100efad6
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x1018e9b1
call fcn.1015e3cb
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov dword [esi], 0x1019cb64
mov dword [esi + 8], eax
call fcn.10001460
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x101997b5
push edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.10071500
push edi
push edi
push edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.1002e260
push edi
push edi
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.1002e260
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x100ef620
push edi
push edi
mov byte [ebp - 4], 4
call fcn.1015a189
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x100efb8c
push str.create_thread_failed
lea ecx, [ebp - 0x2c]
call fcn.10006620
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.100064d0
push eax
mov byte [ebp - 4], 6
call fcn.100714d0
mov eax, esi
call fcn.1015e4a3
ret 0xc

Function at 0x100efb96
Capabilities:
Terminate thread

Disassembly:
push 4
mov eax, 0x1018e9d7
call fcn.1015e3cb
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x1019cb64
push dword [esi + 0x48]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100efbd7
push 0xff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x50]
call fcn.1002e2f0
lea ecx, [esi + 0x44]
call fcn.1002e2f0
lea ecx, [esi + 0x3c]
call fcn.1002e2f0
lea ecx, [esi + 0x28]
call fcn.100ee574
lea ecx, [esi + 0xc]
call fcn.10001480
call fcn.1015e4a3
ret