joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c44c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47c454
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47c5f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x47c608
mov eax, esi
call fcn.0047a2d4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.004043dc
lea ecx, [ebp - 0xc]
mov edx, 0x47c61c
mov eax, esi
call fcn.0047a2d4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.004043dc
lea ecx, [ebp - 0x10]
mov edx, 0x47c634
mov eax, esi
call fcn.0047a2d4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.004043dc
lea ecx, [ebp - 0x14]
mov edx, 0x47c650
mov eax, esi
call fcn.0047a2d4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.004043dc
lea ecx, [ebp - 0x18]
mov edx, 0x47c66c
mov eax, esi
call fcn.0047a2d4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.004043dc
lea ecx, [ebp - 0x20]
mov edx, 0x47c684
mov eax, esi
call fcn.0047a2d4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040877c
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00408d18
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x47c69c
mov eax, esi
call fcn.0047a2d4
mov eax, dword [ebp - 0x24]
call fcn.0046d844
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x47c6ac
mov eax, esi
call fcn.0047a2d4
mov eax, dword [ebp - 0x28]
call fcn.0046d844
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x47c6c4
mov eax, esi
call fcn.0047a2d4
mov eax, dword [ebp - 4]
call fcn.0046d3f8
test al, al
je 0x47c5a7
mov eax, dword [ebp - 4]
call fcn.00408cdc
mov edi, eax
test edi, edi
jl 0x47c59d
call fcn.0040a618
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x47c6cc]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x47c5b3
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x47c5b3
mov eax, dword [ebp - 4]
call fcn.0046d844
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47c6d8
mov eax, esi
call fcn.0047a2d4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.004043dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c5f7
lea eax, [ebp - 0x30]
call fcn.00404388
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004043ac
ret

Function at 0x47d7f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47d84e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047d7e4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046c210
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046be10
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d855
lea eax, [ebp - 4]
call fcn.00404388
ret
Function at 0x488dac
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x488fc9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x48df58]
cmp dword [eax], 1
jne 0x488f9b
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x488fdc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete bl
test bl, bl
je 0x488e3d
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x48900c
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete bl
test bl, bl
je 0x488f66
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
cmp dword [ebp - 0x14], 0
je 0x488f66
lea eax, [ebp - 0x10]
mov ecx, 0x21
xor edx, edx
call fcn.00404478
mov edi, dword [ebp - 0x14]
sub edi, 1
jno 0x488e98
call fcn.004034b4
test edi, edi
jl 0x488f66
inc edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0x21
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404848
push eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x488ed0
call fcn.004034ac
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x10]
call fcn.00404848
mov edx, eax
lea eax, [ebp - 0x12c]
call fcn.00403068
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x2c]
call fcn.004045ec
push dword [ebp - 0x2c]
push 0x489028
push 0x489034
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404708
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404848
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x488f5c
mov eax, dword [ebp - 0x10]
call fcn.00404848
mov edx, eax
lea eax, [ebp - 0x130]
call fcn.00404580
mov edx, dword [ebp - 0x130]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
dec edi
jne 0x488ea8
cmp dword [ebp - 4], 0
je 0x488f75
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 8], 0
je 0x488f84
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x488f9b
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488fd0
lea eax, [ebp - 0x130]
call fcn.00404388
lea eax, [ebp - 0x2c]
call fcn.00404388
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004043ac
ret
Function at 0x48999c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x21
mov eax, dword [0x48dce0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.004094b8
add esp, 0x104
pop ebx
ret

Function at 0x4899dc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404838
xor eax, eax
push ebp
push 0x489a47
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402f74
mov dword [ebp - 0x1e], 3
mov eax, dword [ebp - 4]
call fcn.00404848
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x10
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489a4e
lea eax, [ebp - 4]
call fcn.00404388
ret

Function at 0x489c18
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.00404388
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.004094b8
add esp, 0x18
pop ebx
ret
Function at 0x10003ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101688fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x2c], 0xf
mov dword [eax + 0x28], ecx
mov byte [eax + 0x18], cl
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1016898b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
lea eax, [edi + 0x14]
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.10001ec0
mov edx, dword [edi + 0x30]
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x30], edx
call fcn.10003b00
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x100046d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10168a26
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
mov byte [ecx + 4], al
lea edi, [esi + 0x34]
mov dword [esp + 0x18], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x24], 1
call fcn.10001ec0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, edi
call fcn.100043c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x30], edx
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10
Function at 0x10005140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10168a90
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [ebp + 0xc]
mov dword [esp + 0x28], eax
add eax, 4
push eax
mov dword [esp + 0x28], 0x1018442c
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
xor ebx, ebx
mov edi, eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
lea esp, [esp]
cmp edi, ebx
je 0x100051b8
cmp edi, eax
je 0x100051bd
call fcn.10149775
cmp esi, dword [esp + 0x14]
je 0x100052b0
cmp edi, ebx
jne 0x100051d0
call fcn.10149775
cmp esi, dword [edi + 4]
jne 0x100051e4
call fcn.10149775
cmp esi, dword [edi + 4]
jne 0x100051e4
call fcn.10149775
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x48], ecx
add esi, 0x20
push esi
lea ecx, [esp + 0x50]
call fcn.10003fb0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
mov byte [esp + 0xa0], 1
call fcn.10004c80
mov eax, dword [esp + 0x84]
cmp eax, ebx
mov byte [esp + 0x98], bl
je 0x1000526a
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x84]
push edx
push ecx
push eax
call fcn.10054130
mov edx, dword [esp + 0x94]
push edx
call fcn.10149646
add esp, 0x14
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
jb 0x10005293
mov eax, dword [esp + 0x64]
push eax
call fcn.10149646
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.100014e0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
jmp 0x100051b0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, ebp
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 4
Function at 0x10005680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10168b3e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0xc]
lea ebx, [eax + 4]
push ebx
mov dword [esp + 0x14], 0x1018442c
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [esp + 0xe0], 0
mov esi, dword [esp + 0xd0]
mov dword [esp + 0xc8], 0
je 0x100056eb
push esi
mov ecx, edi
call fcn.10005610
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
push eax
push ecx
push edx
push esi
lea ecx, [esp + 0x8c]
call fcn.100046d0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 1
mov dword [esp + 0x28], edx
call fcn.10003fb0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x74]
push eax
mov ecx, edi
mov byte [esp + 0xd0], 2
call fcn.10004c80
lea ecx, [esp + 0x2c]
call fcn.10003d40
lea ecx, [esp + 0x7c]
call fcn.10003d40
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xbc
ret 0x14

Function at 0x10007390
Capabilities:
Resolve dns

Disassembly:
mov ax, word [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [ebx], 0
mov word [ebx + 4], ax
mov byte [esp + 0x1c], 0x2e
call fcn.10006df0
cmp eax, 0xffffffff
je 0x1000741b
cmp dword [edi + 0x18], 0x10
push esi
lea esi, [edi + 4]
jb 0x100073cf
mov eax, dword [esi]
jmp 0x100073d1
mov eax, esi
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x10007405
cmp dword [edi + 0x18], 0x10
jb 0x100073e8
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100073fc
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
cmp dword [edi + 0x18], 0x10
jb 0x1000740d
mov esi, dword [esi]
push esi
call ebp
pop ebp
pop esi
mov dword [ebx], eax
pop edi
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], 0xffffffff
mov eax, ebx
pop ebx
ret 8
Function at 0x10016c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10169bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp dword [0x101b1680], ebp
jne 0x10016cd9
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push ebp
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchangeAdd]
test eax, eax
jne 0x10016db0
mov ecx, dword [esi + 0x14]
xor bl, bl
cmp ecx, ebp
lea edi, [eax + 0x10]
je 0x10016d45
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
push 1
lea edx, [esp + 0x18]
push edx
call eax
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x44], ebp
call fcn.10001ec0
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x38], 0xffffffff
jb 0x10016d34
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10149646
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], 0
cmp dword [esi + 0x38], ebp
jne 0x10016d5b
push 0x11
push str.BTBTDownload.dll
lea ecx, [esi + 0x24]
mov bl, 1
call fcn.10001fe0
cmp dword [esi + 0x3c], edi
jb 0x10016d65
mov eax, dword [esi + 0x28]
jmp 0x10016d68
lea eax, [esi + 0x28]
mov ecx, dword [0x101b2808]
test bl, bl
sete dl
lea edi, [esi + 0xc]
lea ebp, [esi + 8]
push edx
push ecx
push edi
push 0x10184dc8
push 0x10184de8
push 0
push eax
push ebp
call fcn.100eaeb6
add esp, 0x20
test eax, eax
jl 0x10016da1
cmp dword [edi], 0
je 0x10016da1
lea eax, [esi + 0x10]
push eax
jmp 0x10016db1
mov dword [edi], 0
mov dword [ebp], 0
jmp 0x10016db7
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
xor eax, eax
cmp dword [esi + 0xc], eax
setne al
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 0x10024b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101713bb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [esp + 0x50]
mov word [esi + 0x1fc], ax
mov ecx, dword [esi + 0x14]
push 0x38
mov dword [esi + 0x18], ecx
call fcn.1014979e
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x44], 0
je 0x10021c6c
mov ecx, eax
call fcn.10078350
jmp 0x10021c6e
xor eax, eax
push 0
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x1c], 0x10187138
call fcn.10065ad0
mov dword [esp + 0x14], 0x10187138
mov edx, dword [esi + 0x60]
push edx
lea eax, [esp + 0x18]
push eax
push 0x12
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 1
call fcn.100cdd40
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
mov dword [esp + 0x14], 0x10187138
mov dword [esp + 0x18], 0x1018710c
call fcn.1000dbe0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 3
mov ecx, esi
mov edi, eax
call fcn.1001bb60
movzx ecx, ax
push ecx
push 0
push 0x12
push edi
call fcn.100e5530
add esp, 0x14
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], 0x65
call fcn.1001db90
mov byte [esp + 0x4c], 0
mov edx, dword [esp + 0x4c]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], 0x13014
call fcn.1001ddc0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov dword [esi + 0x248], eax
call fcn.100214c0
lea ecx, [esp + 0x30]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x2c], 0x10187138
mov dword [esp + 0x30], 0x1018710c
call fcn.1000dbe0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x3c
ret 8
mov ecx, dword [ecx + 0x14]
jmp 0x10021c10
Function at 0x10025c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1016a9b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
mov dword [edi + 4], ecx
lea esi, [edi + 8]
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
mov dword [edi], eax
call fcn.10008ed0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
je 0x10025c99
push eax
call fcn.10149646
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10029d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1016b093
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov edi, 0xf
push 0x10184472
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10001fe0
push ebx
push 0x10184472
lea ecx, [esp + 0x40]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10001fe0
push ebx
push 0x10184472
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10001fe0
movzx eax, word [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push eax
push ecx
push 1
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
lea edx, [esp + 0x38]
push edx
push ebx
push 0xea60
push 0xa
mov byte [esp + 0xa4], 2
call fcn.10033a60
add esp, 0x1c
mov ecx, eax
call fcn.10032040
cmp dword [esp + 0x34], 0x10
mov ebp, eax
jb 0x10029de4
mov eax, dword [esp + 0x20]
push eax
call fcn.10149646
add esp, 4
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x10029e04
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x78], 0xffffffff
jb 0x10029e2c
mov edx, dword [esp + 0x58]
push edx
call fcn.10149646
add esp, 4
cmp ebp, ebx
je 0x10029e8e
push 8
call fcn.1014979e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x78], 3
je 0x10029e56
push ebp
mov ecx, eax
call fcn.1002d340
mov edi, eax
jmp 0x10029e58
xor edi, edi
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp edi, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x14], ecx
je 0x10029e7f
cmp eax, ebx
je 0x10029e7f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esi + 0xc], edi
je 0x10029e8e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x1002bb70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1016b3cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0x101850b8
lea eax, [esi + 0xc]
mov dword [esi], 0x10185108
mov dword [esi + 4], 0x101850e0
push eax
mov dword [esi + 8], 0x1018458c
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.1002b6f0
mov dword [esi + 0x84], 0xf
mov dword [esi + 0x80], ebx
mov byte [esi + 0x70], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4