joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017f00
Capabilities:
Create directory

Disassembly:
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.ziAAMcK__qOzOGa9
call fcn.100254b0
add esp, 4
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str._deleted_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push esi
call edi
test eax, eax
jne 0x10017f77
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 8], eax
push ebx
mov bl, al
push esi
add bl, 0x30
call ebp
push 0
push esi
mov byte [eax + esi - 1], bl
call edi
test eax, eax
jne 0x10017f70
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x64
mov dword [esp + 0xc], eax
jl 0x10017f46
pop ebx
pop ebp
xor al, al
pop edi
pop ecx
ret
pop ebx
pop ebp
mov al, 1
pop edi
pop ecx
ret
mov al, 1
pop edi
pop ecx
ret

Function at 0x10017f80
Capabilities:
Check if file exists
Move file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x100778dc]
push ebx
push ebp
mov ebp, dword [esp + 0x118]
push ebp
push edi
mov dword [esp + 0x118], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._deleted_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x104
push edi
lea eax, [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push 0x104
push ebp
push esi
call ebx
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10018010
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x10018010
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x108]
call fcn.1004189e
add esp, 0x10c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 8], 0
mov edi, edi
mov bl, byte [esp + 8]
push edi
add bl, 0x30
call ebp
push esi
mov byte [eax + edi - 1], bl
call ebp
push esi
mov byte [eax + esi - 1], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10018053
mov eax, dword [esp + 0x118]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x10017ff9
mov eax, dword [esp + 8]
inc eax
cmp eax, 0x64
mov dword [esp + 8], eax
jl 0x10018020
mov ecx, dword [esp + 0x110]
pop ebp
xor al, al
pop ebx
call fcn.1004189e
add esp, 0x10c
ret
Function at 0x10018080
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x100778dc]
push ebx
mov ebx, dword [esp + 0x118]
test ebx, ebx
mov dword [esp + 0x10c], eax
je 0x100180a1
mov byte [ebx], 0
mov al, byte [esp + 0x114]
test al, al
jne 0x100180c2
lea eax, [esp + 4]
push eax
push str.FXInstalled
call fcn.1001da70
add esp, 8
test al, al
jne 0x100180e7
push str.D7FEF78F_AFAA_4F9C_A2F7_4706F5F1E1DB
push str.zumie
call fcn.10035310
add esp, 8
test al, al
je 0x100180fd
push 1
push str.FXInstalled
call fcn.1001db30
add esp, 8
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
call fcn.1004189e
add esp, 0x10c
ret
call fcn.100350d0
test al, al
je 0x100180e7
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x104
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1001817b
push str.temp.xpi
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push eax
call edi
mov edx, dword [0x1007a438]
lea ecx, [esp + 0x10]
push ecx
push 0x10054878
push 0x66
push edx
call fcn.100270d0
add esp, 0x10
test eax, eax
je 0x1001817b
lea eax, [esp + 0x10]
push eax
call fcn.10035180
add esp, 4
test al, al
jne 0x10018170
mov esi, 3
lea ecx, [esp + 0x10]
push ecx
call edi
test esi, esi
je 0x100181a0
push str.FXInstalled
call fcn.1001dbb0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
call fcn.1004189e
add esp, 0x10c
ret
push str.D7FEF78F_AFAA_4F9C_A2F7_4706F5F1E1DB
push str.zumie
call fcn.10035310
add esp, 8
test al, al
je 0x10018205
lea edx, [esp + 0xc]
push edx
push str.ShowToolbarButton
call fcn.1001da70
add esp, 8
test al, al
je 0x100181de
mov edx, dword [esp + 0xc]
test edx, edx
setne al
push eax
call fcn.10036ca0
add esp, 4
push 1
push str.FXInstalled
call fcn.1001db30
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x108]
call fcn.1004189e
add esp, 0x10c
ret
push str.FXInstalled
call fcn.1001dbb0
add esp, 4
test ebx, ebx
je 0x10018219
mov byte [ebx], 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor al, al
pop ebx
call fcn.1004189e
add esp, 0x10c
ret
Function at 0x10019650
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x100504db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x100778dc]
mov dword [esp + 0x424], eax
mov al, byte [esp + 0x438]
test al, al
push ebx
push esi
lea ebx, [esp + 0x1c]
je 0x1001977e
mov eax, dword [0x1007a44c]
xor esi, esi
cmp eax, esi
push 0x104
je 0x10019731
push eax
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + 0x1c]
push ecx
call fcn.100194d0
add esp, 4
test al, al
jne 0x100196db
lea edx, [esp + 0x328]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.10019210
add esp, 8
test al, al
je 0x100196db
lea ebx, [esp + 0x328]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push ebx
lea ecx, [esp + 0x230]
push ecx
call ebp
push 0x100548a8
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push esi
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x1c]
call fcn.1000fd60
mov edi, dword [esp + 0x18]
mov dword [esp + 0x440], esi
mov dword [esp + 0x10], esi
test edi, edi
jne 0x100197d8
xor eax, eax
jmp 0x100197ef
lea ecx, [esp + 0x20]
push ecx
push str.TempInstallDir
call fcn.1001d930
add esp, 0xc
test al, al
jne 0x100196aa
push esi
push 1
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.100172f0
add esp, 0x10
test al, al
je 0x1001977e
push 0x5c
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
cmp eax, esi
je 0x1001977e
mov byte [eax], 0
jmp 0x100196aa
mov eax, dword [0x1007a44c]
xor esi, esi
cmp eax, esi
je 0x10019799
push 0x104
push eax
lea ecx, [esp + 0x24]
push ecx
jmp 0x100196a4
push esi
push 0x26
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100197cd
push str.ziAAMcK__qOzOGa9
call fcn.100254b0
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x100196aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001988e
mov ecx, dword [esp + 0x1c]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jge 0x10019847
mov ecx, dword [esi + edi]
shr ecx, 4
test cl, 1
jne 0x10019838
push ebx
lea edx, [esp + 0x12c]
push edx
call ebp
mov eax, dword [esp + 0x18]
lea ecx, [esi + eax + 0x2c]
push ecx
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x128]
push 0
push eax
call fcn.1001dcb0
mov edi, dword [esp + 0x20]
add esp, 8
inc dword [esp + 0x10]
add esi, 0x140
jmp 0x10019722
lea ecx, [esp + 0x330]
cmp ebx, ecx
jne 0x10019861
push 0
push ebx
call fcn.1001dcb0
mov edi, dword [esp + 0x20]
add esp, 8
mov al, byte [esp + 0x44c]
test al, al
je 0x1001987f
lea edx, [esp + 0x24]
push 0
push edx
call fcn.1001dcb0
mov edi, dword [esp + 0x20]
add esp, 8
test edi, edi
je 0x1001988c
push edi
call fcn.1004119d
add esp, 4
pop edi
pop ebp
mov ecx, dword [esp + 0x430]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x428]
pop ebx
call fcn.1004189e
add esp, 0x434
ret
Function at 0x1001ad30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050679
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], 0
mov dword [esp + 4], esi
test esi, esi
mov byte [esp + 0x10], 1
je 0x1001ad73
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.1001a010
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10018e20
mov eax, dword [esp + 0x1c]
push eax
call fcn.1004119d
mov ecx, dword [esp + 0xc]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x100506b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x40]
push eax
sub esp, 0xc
lea edx, [esp + 0x44]
mov dword [esp + 0x50], esp
mov ecx, esp
push edx
mov dword [esp + 0x3c], 1
call fcn.1001a010
lea ecx, [esp + 0x20]
call fcn.1001ac40
mov esi, eax
mov edi, dword [esp + 0x30]
push esi
mov ecx, edi
mov byte [esp + 0x2c], 2
call fcn.1001a010
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 1
mov byte [esp + 0x34], 1
call fcn.10018e20
mov edx, dword [esp + 0x14]
push edx
call fcn.1004119d
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call fcn.10018e20
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1004119d
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x10050648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
push eax
push ecx
sub esp, 0x10
mov esi, esp
lea edx, [esp + 0x38]
mov dword [esp + 0x48], esp
push edx
mov ecx, esi
call fcn.1001a010
mov eax, dword [esp + 0x44]
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.1001aef0
mov bl, al
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.10018e20
mov edx, dword [esp + 0x24]
push edx
call fcn.1004119d
mov ecx, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x1001b200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10050708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 1
call fcn.1001a100
test al, al
jne 0x1001b355
push ebx
push esi
push edi
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.1001ad10
mov ebx, eax
mov esi, dword [ebp + 4]
test esi, esi
mov byte [esp + 0x40], 2
je 0x1001b27d
mov ecx, dword [ebp + 8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x48], eax
jne 0x1001b281
xor esi, esi
jmp 0x1001b298
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
push ebx
push 1
push edi
mov ecx, ebp
call fcn.1000c0f0
imul esi, esi, 0x1c
mov eax, dword [ebp + 4]
add esi, eax
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x40], 1
jb 0x1001b2c4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1004119d
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
je 0x1001b3b9
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x58]
call fcn.1001a200
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
cmp ecx, eax
jne 0x1001b31d
cmp dword [esp + 0x14], eax
jne 0x1001b31d
cmp dword [esp + 0x70], eax
jne 0x1001b31d
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], edx
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], eax
lea edi, [esi + 0x1c]
call fcn.1001a100
test al, al
je 0x1001b243
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x34], 0
pop ebp
je 0x1001b380
mov eax, dword [eax]
test eax, eax
je 0x1001b378
lea edx, [esp + 0x44]
push 1
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 0x30], 0xffffffff
je 0x1001b3a8
mov eax, dword [eax]
test eax, eax
je 0x1001b3a8
lea edx, [esp + 0x84]
push 1
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x88
mov eax, dword [esp + 0x7c]
mov ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x1001b30f
Function at 0x1001b3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.1001a010
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esi + 4], 0x1001b1a0
mov dword [esi], 0x1001b1c0
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.10018e20
mov eax, dword [esp + 0xc]
push eax
call fcn.1004119d
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add esp, 4
push eax
push ecx
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10018e20
mov edx, dword [esp + 0x2c]
push edx
call fcn.1004119d
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 0x10

Function at 0x1001b6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050796
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov cl, byte [0x1007a478]
mov eax, 1
test al, cl
mov dword [esp + 0x14], 0
jne 0x1001b736
or dword [0x1007a478], eax
sub esp, 0x10
mov byte [esp + 0x24], al
mov esi, esp
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
call fcn.1001a010
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xc], ecx
mov ecx, 0x1007a470
call fcn.1001b560
mov byte [esp + 0x14], 0
lea edx, [edi + 8]
push edx
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], esp
push eax
mov ecx, esi
call fcn.1001a010
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov ecx, 0x1007a470
call fcn.1001b100
neg al
lea edx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x1007a470
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.10018e20
mov eax, dword [esp + 0x20]
push eax
call fcn.1004119d
mov ecx, dword [esp + 0x10]
add esp, 4
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x10

Function at 0x1001b920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
push 0
sub esp, 0x10
mov edi, esp
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], esp
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.1001a010
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0xc], ecx
mov ecx, esi
call fcn.1001b890
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.10018e20
mov eax, dword [esp + 0x20]
push eax
call fcn.1004119d
mov ecx, dword [esp + 0x10]
add esp, 4
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x1001b9b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100507e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
push 0
sub esp, 0x10
mov edi, esp
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], esp
push eax
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.1001a010
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
mov ecx, esi
call fcn.1001b920
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 0
mov ecx, esi
mov byte [esp + 0x18], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edx
mov byte [esi + 0x34], 0
call fcn.1001acb0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.10018e20
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1004119d
mov ecx, dword [esp + 0x14]
add esp, 4
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x18
Function at 0x1001d100
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x32c
mov eax, dword [0x100778dc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x33c]
test edi, edi
mov dword [esp + 0x334], eax
jne 0x1001d128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call fcn.10026ca0
test al, al
je 0x1001d1e1
push edi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001d162
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x328]
call fcn.1004189e
add esp, 0x32c
ret
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x1001d208
xor bl, bl
nop
cmp dword [esp + 0x14], edi
je 0x1001d1c2
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1001d180
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1001d256
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x328]
call fcn.1004189e
add esp, 0x32c
ret
push 0x104
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov bl, 1
jmp 0x1001d19b
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1001d20f
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1001d227
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x328]
call fcn.1004189e
add esp, 0x32c
ret
xor bl, bl
lea esp, [esp]
cmp dword [esp + 0x14], edi
je 0x1001d28c
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001d230
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1001d20f
mov edx, dword [esp + 0x344]
mov eax, dword [esp + 0x340]
push edx
push eax
lea ecx, [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ecx, dword [esp + 0x334]
pop edi
pop esi
mov al, 1
pop ebx
call fcn.1004189e
add esp, 0x32c
ret
push 0x104
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov bl, 1
jmp 0x1001d24b
Function at 0x1001d2b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x100778dc]
push ebp
push 0
push 2
mov dword [esp + 0x23c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1001d2f1
lea eax, [esp + 8]
push eax
push ebp
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1001d307
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop ebp
mov ecx, dword [esp + 0x230]
call fcn.1004189e
add esp, 0x234
ret
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push esi
mov esi, dword [esp + 0x244]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov byte [esp + 0x13], 0
call fcn.10026ca0
test al, al
je 0x1001d378
lea ecx, [esp + 0x38]
push ecx
push esi
call ebx
test eax, eax
je 0x1001d384
mov eax, dword [esp + 0x1c]
push 0x104
lea edx, [esp + 0x140]
push edx
push eax
call fcn.1001d100
add esp, 0xc
test al, al
je 0x1001d384
push esi
lea ecx, [esp + 0x140]
push ecx
call edi
test eax, eax
jne 0x1001d384
mov ecx, dword [esp + 0x24c]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov byte [esp + 0x13], 1
jmp 0x1001d399
push esi
lea edx, [esp + 0x3c]
push edx
call edi
test eax, eax
je 0x1001d3bb
lea eax, [esp + 0x14]
push eax
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001d322
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x240]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
pop ebp
call fcn.1004189e
add esp, 0x234
ret
mov eax, dword [esp + 0x24c]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov byte [esp + 0x13], 1
jmp 0x1001d399
Function at 0x1001d420
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x100778dc]
push ebx
push 0
push 2
mov dword [esp + 0x134], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1001d45f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop ebx
mov ecx, dword [esp + 0x128]
call fcn.1004189e
add esp, 0x12c
ret
lea eax, [esp + 4]
push eax
push ebx
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1001d499
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop ebx
mov ecx, dword [esp + 0x128]
call fcn.1004189e
add esp, 0x12c
ret
push esi
mov esi, dword [esp + 0x13c]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001d4b1
push eax
call fcn.1004119d
add esp, 4
push edi
mov edi, dword [esp + 0x13c]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, edi
cmp dword [esp + 0x24], edi
jne 0x1001d51c
mov edx, dword [esi + 4]
test edx, edx
jne 0x1001d4e1
xor ecx, ecx
jmp 0x1001d4e9
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x1001d50a
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x1001d50a
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x1001d51c
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.10004a70
lea eax, [esp + 0xc]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001d4d0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x12
je 0x1001d53a
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
pop edi
jne 0x1001d54d
xor esi, esi
jmp 0x1001d555
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 2
xor ecx, ecx
cmp ecx, esi
mov ecx, dword [esp + 0x130]
sbb eax, eax
pop esi
neg eax
pop ebx
call fcn.1004189e
add esp, 0x12c
ret