joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b595
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x42b6ee
cmp byte [esi + 0xf1], 0
jne 0x42b6ea
push ebx
xor bl, bl
cmp byte [esp + 0x14], bl
push edi
je 0x42b5fb
cmp byte [esi + 0x126], bl
jne 0x42b5e3
push 0
push 0x40000
lea edi, [esi + 0xc]
push 0
mov ecx, edi
call fcn.004a4397
cmp byte [esi + 0xf1], bl
je 0x42b5e1
push 5
mov ecx, edi
call fcn.004a445b
mov bl, 1
mov eax, dword [esi]
mov edx, dword [eax + 0x130]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x13c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
mov ecx, esi
call edx
test al, al
jne 0x42b678
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x42b678
mov eax, dword [ecx]
mov edx, dword [eax + 0x98]
call edx
test al, al
je 0x42b62d
mov eax, dword [esi]
mov edx, dword [eax + 0x138]
jmp 0x42b674
cmp byte [esi + 0x4ad], 0
jne 0x42b678
cmp byte [esi + 0x4ac], 0
je 0x42b678
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
test al, al
jne 0x42b65c
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2b8]
mov ecx, esi
call edx
test al, al
jne 0x42b678
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
mov ecx, esi
call edx
cmp byte [esp + 0x14], 0
je 0x42b68d
mov eax, dword [esi]
mov edx, dword [eax + 0x128]
push 1
mov ecx, esi
call edx
mov eax, dword [esi + 0x4f8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x2c]
push 0x505
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
test bl, bl
mov byte [esi + 0xf1], 1
je 0x42b6e8
lea edi, [esi + 0xc]
push 0
mov ecx, edi
call fcn.004a445b
push 0
push 0
push 0x40000
mov ecx, edi
call fcn.004a4397
cmp byte [esi + 0xf1], 0
je 0x42b6e8
push 5
mov ecx, edi
call fcn.004a445b
pop edi
pop ebx
pop esi
ret 0xc
cmp byte [esi + 0xf1], 0
je 0x42b6ea
mov edx, dword [esi]
mov eax, dword [edx + 0x2b0]
push 1
call eax
mov ecx, dword [esi + 0x4f8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xf1], 0
pop esi
ret 0xc
Function at 0x4304d0
Capabilities:
Suspend thread

Disassembly:
test esi, esi
je 0x430550
push edi
xor edi, edi
cmp byte [esi + 0x48], 0
je 0x430517
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x4304f0
mov eax, dword [esi + 0x30]
push 0
push 0
push 0x12
push eax
call ebp
test eax, eax
jne 0x430515
cmp edi, 0x1388
jge 0x430515
push 0xa
call ebx
add edi, 0xa
cmp byte [esi + 0x48], 0
jne 0x4304f0
pop ebp
pop ebx
mov edx, dword [esi + 0x2c]
mov eax, 0x1388
sub eax, edi
mov ecx, 0
sets cl
sub ecx, 1
and eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
pop edi
je 0x430545
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
ret

Function at 0x430560
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [edi + 0x64]
call fcn.0045de40
test al, al
je 0x4305ae
mov eax, dword [esi + 0x54]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push 0
push eax
call ebx
mov ecx, dword [esi + 0x54]
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call ebp
mov esi, edi
call fcn.0042aec0
test al, al
je 0x4305a8
mov edx, dword [edi + 0x4f8]
push 0
push edx
call ebx
mov eax, dword [edi + 0x4f8]
push eax
call ebp
pop ebp
pop ebx
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x432ba0
Capabilities:
Identify system language via api

Disassembly:
push esi
mov eax, 1
xor esi, esi
test byte [0x556ed8], al
jne 0x432bf9
or dword [0x556ed8], eax
push 0x50c030
mov dword [0x556ebc], 0x5209c4
mov dword [0x556ec0], 0x520be4
mov dword [0x556ec4], 0x520c24
mov dword [0x556ec8], esi
mov dword [0x556ecc], esi
mov dword [0x556ed0], esi
mov dword [0x556ed4], esi
call fcn.004b8f73
add esp, 4
mov ecx, dword [0x556ecc]
cmp ecx, esi
jne 0x432c53
mov eax, dword [0x54cf1c]
cmp eax, 0xffffffff
jne 0x432c20
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
call fcn.00460cc0
mov dword [0x54cf1c], eax
call fcn.00432480
push eax
mov eax, dword [0x556ebc]
mov edx, dword [eax + 0x200]
mov ecx, 0x556ebc
call edx
mov ecx, 0x556ebc
call fcn.00424940
mov ecx, dword [0x556ecc]
cmp ecx, esi
jne 0x432c53
mov eax, 0x51fc90
pop esi
ret
mov eax, dword [0x556ec8]
cmp word [eax + ecx*2], si
je 0x432c67
mov word [eax + ecx*2], si
mov eax, dword [0x556ec8]
pop esi
ret
Function at 0x43acc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x506f29
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54b708]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea ebp, [esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [ebp], vtable.s::thread::IPoolable.0
mov dword [esi], vtable.s::map::MapTable.0
mov dword [ebp], vtable.s::map::MapTable.1.0
lea eax, [esi + 0x18]
push eax
mov dword [esi + 8], vtable.s::thread::ObjLocker.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x30]
push 2
mov eax, edi
call fcn.00408e60
mov dword [edi], vtable.s::col::_array::ArrayP.0
mov dword [edi + 4], vtable.s::col::_array::ArrayP.1.0
mov dword [edi + 8], vtable.s::col::_array::ArrayP.2.0
mov dword [edi + 0xc], vtable.s::col::_array::ArrayP.3.0
mov dword [edi + 0x10], vtable.s::col::_array::ArrayP.4.0
mov dword [edi + 0x14], vtable.s::col::_array::ArrayP.5.0
mov dword [edi + 0x2c], ebx
mov byte [esp + 0x1c], 3
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
call eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x68], eax
mov byte [esi + 0x70], bl
mov dword [esi + 0x64], edx
mov dword [esi + 0x6c], ecx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14

Function at 0x43b7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b80e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x43b7df
cmp eax, 2
jne 0x43b7fa
test esi, esi
mov eax, dword [esp]
je 0x43b808
test eax, eax
je 0x43b803
test al, 1
jne 0x43b7fa
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x43b808
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x43e630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43e649
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43e684
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x43e680
lea ebx, [ebx]
cmp esi, eax
jae 0x43e684
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x43e670
cmp esi, eax
jb 0x43e68a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x442925
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x44297a
cmp byte [esi + 0x6c], 0
jne 0x4429b5
mov eax, dword [esi + 0x68]
test eax, eax
je 0x442944
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x68], 0
mov byte [esi + 0x6c], 1
je 0x4429b5
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test eax, eax
je 0x4429b5
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe4]
call eax
pop esi
ret 8
cmp byte [esi + 0x6c], 0
je 0x4429b5
mov eax, dword [esi + 0x68]
test eax, eax
mov byte [esi + 0x6c], 0
je 0x4429b5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4429b5
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
push 0xffffd8f0
push 0xffffd8f0
mov ecx, esi
call eax
pop esi
ret 8
Function at 0x443810
Capabilities:
Get file attributes
Set file attributes

Disassembly:
cmp byte [esi + 0x5a], 0
jne 0x443841
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x443829
mov ecx, dword [esi + 0x18]
jmp 0x44382c
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
test byte [esi + 0x5c], 2
jne 0x443879
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x44385a
mov ecx, dword [esi + 0x18]
jmp 0x44385d
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x5c]
mov edx, dword [ecx]
or eax, 2
push eax
mov eax, dword [edx + 0x50]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
neg eax
sbb eax, eax
neg eax
ret
mov al, 1
ret

Function at 0x443a40
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5a], 0
jne 0x443a74
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x443a5c
mov ecx, dword [esi + 0x18]
jmp 0x443a5f
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
mov eax, dword [esi + 0x5c]
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov al, cl
pop esi
ret

Function at 0x443ac0
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5a], 0
jne 0x443af4
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x443adc
mov ecx, dword [esi + 0x18]
jmp 0x443adf
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
mov eax, dword [esi + 0x5c]
and al, 0x10
xor ecx, ecx
cmp al, 0x10
setne cl
mov al, cl
pop esi
ret

Function at 0x443b10
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5a], 0
jne 0x443b44
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x443b2c
mov ecx, dword [esi + 0x18]
jmp 0x443b2f
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
mov eax, dword [esi + 0x5c]
and al, 2
xor ecx, ecx
cmp al, 2
sete cl
mov al, cl
pop esi
ret
Function at 0x443b60
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5a], 0
jne 0x443b94
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x443b7c
mov ecx, dword [esi + 0x18]
jmp 0x443b7f
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
mov eax, dword [esi + 0x5c]
and al, 4
xor ecx, ecx
cmp al, 4
sete cl
mov al, cl
pop esi
ret

Function at 0x443bb0
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5a], 0
jne 0x443be4
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
test eax, eax
jbe 0x443bcc
mov ecx, dword [esi + 0x18]
jmp 0x443bcf
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
mov eax, dword [esi + 0x5c]
and al, 0x20
xor ecx, ecx
cmp al, 0x20
sete cl
mov al, cl
pop esi
ret
Function at 0x446010
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
mov byte [esp + 0xf], 0
call fcn.00443760
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
push 1
push 0
mov ecx, esi
call edx
mov edx, dword [edi]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x446116
nop
mov ecx, 0x522874
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4460a6
test dx, dx
je 0x4460a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4460a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x446080
xor eax, eax
jmp 0x4460ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4460f4
mov ecx, 0x527e74
lea eax, [esp + 0x3c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4460de
test dx, dx
je 0x4460da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4460de
add eax, 4
add ecx, 4
test dx, dx
jne 0x4460b8
xor eax, eax
jmp 0x4460e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4460f4
cmp byte [ebp + 8], 0
jne 0x44610a
test byte [esp + 0x10], 2
je 0x44610a
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446070
jmp 0x44610f
mov byte [esp + 0xf], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [edi + 4]
call eax
test ebx, ebx
je 0x44612a
lea ecx, [ebx + 4]
jmp 0x44612c
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x264]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 4
Function at 0x446370
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
jne 0x4463af
call fcn.0041dba0
test eax, eax
je 0x4463a8
lea ebx, [eax + 8]
jmp 0x4463aa
xor ebx, ebx
call fcn.00408d40
mov dword [esp + 0x10], eax
mov eax, esi
call fcn.00443760
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
push 1
push 0
mov ecx, esi
mov dword [esp + 0x1c], ebx
call edx
mov edx, dword [ebx]
mov edi, eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x446514
jmp 0x446400
mov ecx, 0x522874
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446436
test dx, dx
je 0x446432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446436
add eax, 4
add ecx, 4
test dx, dx
jne 0x446410
xor eax, eax
jmp 0x44643b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4464f9
mov ecx, 0x527e74
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446476
test dx, dx
je 0x446472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446476
add eax, 4
add ecx, 4
test dx, dx
jne 0x446450
xor eax, eax
jmp 0x44647b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4464f9
cmp byte [ebp + 8], 0
mov al, byte [esp + 0x20]
jne 0x44648d
test al, 2
jne 0x4464f9
test al, 0x10
je 0x4464f9
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x64]
mov edx, dword [ecx]
mov esi, dword [edi]
mov eax, dword [edx + 0x2c]
add esi, 0x30
call eax
mov edx, dword [esi]
add eax, 1
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1d0]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
call fcn.0041e0e0
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x18c]
push edi
mov ecx, ebx
call edx
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x4464e4
call fcn.004145f0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [edx + ecx*4], ebx
add dword [esi + 0x20], 1
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446400
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
lea ecx, [ebx + 4]
call eax
test edi, edi
je 0x446528
lea ecx, [edi + 4]
jmp 0x44652a
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x274]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 8
Function at 0x446550
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
jne 0x44658f
call fcn.0041dba0
test eax, eax
je 0x446588
lea ebx, [eax + 8]
jmp 0x44658a
xor ebx, ebx
call fcn.00408d40
mov dword [esp + 0x10], eax
mov eax, esi
call fcn.00443760
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
push 1
push 0
mov ecx, esi
mov dword [esp + 0x1c], ebx
call edx
mov edx, dword [ebx]
mov edi, eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x4466f4
jmp 0x4465e0
mov ecx, 0x522874
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446616
test dx, dx
je 0x446612
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446616
add eax, 4
add ecx, 4
test dx, dx
jne 0x4465f0
xor eax, eax
jmp 0x44661b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4466d9
mov ecx, 0x527e74
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446656
test dx, dx
je 0x446652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446656
add eax, 4
add ecx, 4
test dx, dx
jne 0x446630
xor eax, eax
jmp 0x44665b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4466d9
cmp byte [ebp + 8], 0
mov al, byte [esp + 0x20]
jne 0x44666d
test al, 2
jne 0x4466d9
test al, 0x10
jne 0x4466d9
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x64]
mov edx, dword [ecx]
mov esi, dword [edi]
mov eax, dword [edx + 0x2c]
add esi, 0x30
call eax
mov edx, dword [esi]
add eax, 1
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1d0]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call edx
call fcn.0041e0e0
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x18c]
push edi
mov ecx, ebx
call edx
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x4466c4
call fcn.004145f0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [edx + ecx*4], ebx
add dword [esi + 0x20], 1
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4465e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
lea ecx, [ebx + 4]
call eax
test edi, edi
je 0x446708
lea ecx, [edi + 4]
jmp 0x44670a
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x274]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 8
Function at 0x446730
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x54b708]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
jne 0x44675f
call fcn.0046c6d0
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.00443760
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0xd0]
push 1
push 0
mov ecx, edi
mov dword [esp + 0x24], esi
call edx
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4468e2
mov ecx, 0x522874
lea eax, [esp + 0x4c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4467d6
test dx, dx
je 0x4467d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4467d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4467b0
xor eax, eax
jmp 0x4467db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4468bf
mov ecx, 0x527e74
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x446816
test dx, dx
je 0x446812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x446816
add eax, 4
add ecx, 4
test dx, dx
jne 0x4467f0
xor eax, eax
jmp 0x44681b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4468bf
cmp byte [ebp + 8], 0
jne 0x446834
test byte [esp + 0x20], 2
jne 0x4468bf
mov ecx, dword [edi + 0x64]
mov edx, dword [ecx]
mov esi, dword [ebx]
mov eax, dword [edx + 0x2c]
add esi, 0x30
call eax
mov edx, dword [esi]
add eax, 1
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1d0]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call edx
call fcn.0041dba0
mov esi, eax
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x20], 0
push edi
jbe 0x44688e
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44689b
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x3c]
call ecx
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18c]
push ebx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
push esi
call eax
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4467a4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [esi + 4]
call eax
test ebx, ebx
je 0x4468f6
lea ecx, [ebx + 4]
jmp 0x4468f8
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x274]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b8e16
mov esp, ebp
pop ebp
ret 8