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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp + 8]
mov eax, dword [esi + 4]
lea esi, [esi + 4]
test eax, eax
jle 0x43b85b
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
jmp 0x43b842
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43ba00
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push 8
push 1
push 0
push 0x5a37a4
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x43ba57
push eax
push 1
push eax
push 0x5a37a4
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x43ba57
lea edi, [eax + 1]
jmp 0x43bb97
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [0x61ef4c]
push 0x61eeb8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x43ba7f
lea edi, [eax + 2]
jmp 0x43bb97
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43baa1
lea edi, [eax + 3]
jmp 0x43bb97
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bab0
push 0
sub ecx, esi
push ecx
push edx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x43bad2
lea edi, [eax + 4]
jmp 0x43bb97
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bad7
sub ecx, edx
lea edx, [ebx - 1]
add edx, ecx
mov cl, byte [edx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x43baf6
movsx eax, cl
add eax, 0xffffffd0
jmp 0x43bb0a
lea eax, [ecx - 0x61]
cmp al, 5
jbe 0x43bb04
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x43bb0f
movsx eax, cl
add eax, 0xffffffc9
cmp eax, 0xffffffff
jne 0x43bb15
mov byte [edx], 0
dec edx
jmp 0x43bae5
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bb20
push 0
lea eax, [ebp - 0x10]
sub ecx, edx
push eax
push ebx
mov dword [ebp - 0x10], ecx
call fcn.0043a4c0
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 0
push 0x5a37a4
push dword [ebp - 0xc]
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
movups xmm0, xmmword [0x5a3790]
neg eax
sbb edi, edi
mov al, byte [0x5a37a0]
neg edi
mov byte [ebp - 0x14], al
dec edi
add esi, 0xffffffff
movups xmmword [ebp - 0x24], xmm0
js 0x43bb97
movsx ecx, byte [ebx + esi]
mov eax, ecx
and ecx, 0xf
sar eax, 4
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
mov byte [ebx + esi*2], al
movzx eax, byte [ebp + ecx - 0x24]
mov byte [ebx + esi*2 + 1], al
sub esi, 1
jns 0x43bb72
mov eax, dword [ebp - 8]
test eax, eax
je 0x43bba5
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43bbb5
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d670
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x614196
push ebx
mov ebx, dword [ebp + 0x14]
test edx, edx
push esi
mov esi, dword [ebp + 0x18]
cmovne eax, edx
push edi
push eax
push str._AUTOSTART
push str._WAITFORDATAPATH
push str._s__s__s
lea eax, [ebp - 0x414]
mov edi, ecx
push 0x208
push eax
call fcn.00407c70
movzx eax, word [edi + 8]
add esp, 0x18
mov ecx, 0x911330
push 0
push eax
call fcn.0042f4d0
push eax
lea eax, [edi + 0xff9]
push eax
push str._s_s.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407c70
add esp, 0x14
lea eax, [ebp - 0x628]
push eax
push 0x8007
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
je 0x43d720
pop edi
pop esi
mov eax, 0xf013
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x628]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
call fcn.0042cad0
add esp, 4
test esi, esi
jne 0x43d758
movzx eax, word [edi + 8]
mov ecx, 0x911330
push esi
push eax
call fcn.0042f4d0
mov esi, eax
push esi
lea eax, [ebp - 0x108]
push eax
push str._s_s.lnk
mov ecx, eax
push 0x104
push ecx
call fcn.00407c70
add esp, 0x14
cmp dword [ebp + 8], 0
jne 0x43d79d
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x10], 0
je 0x43d7b5
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43d788
lea eax, [ebp - 0x620]
push eax
push 0x5e1630
push 1
push 0
push 0x5e1660
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43d708
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x414]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
test ebx, ebx
push 0
cmovne eax, ebx
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
push 0x5e1690
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x43d880
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x624]
lea edx, [ebp - 0x61c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
sar esi, 0x1f
and esi, 0xf013
jmp 0x43d885
mov esi, 0xf013
mov ecx, dword [ebp - 0x620]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4403b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareDeskSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4403dd
xor eax, eax
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x440415
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push eax
push 1
call fcn.00503dee
mov edi, eax
add esp, 8
test edi, edi
je 0x440447
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44045a
push edi
call fcn.00503e53
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, 0x52e
cmp dword [ebp - 8], esi
cmovb esi, dword [ebp - 8]
push esi
push edi
push dword [ebp + 0xc]
call fcn.00500630
push edi
call fcn.00503e53
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4439f0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
push 0
push eax
mov dword [ebp - 0x210], ecx
mov byte [ebp - 0x108], 0
call fcn.00500bb0
push str..chm
push esi
call fcn.005000e0
add esp, 0x14
test eax, eax
jne 0x443a54
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
cmp eax, 0xffffffff
jne 0x443a88
mov eax, dword [ebp - 0x210]
add eax, 0xff9
push eax
push str._s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407c70
add esp, 0x14
jmp 0x443a9c
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00503df9
add esp, 0xc
push 0x104
lea eax, [ebp - 0x108]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x1f
jne 0x443b1f
push esi
push 1
push 0x111
push 0
push 0xf007
mov ecx, 0x911330
call fcn.0042f4d0
push eax
movzx eax, word [0x90fe08]
mov ecx, 0x911330
push 0
push eax
call fcn.0042f4d0
push eax
push 0
push 0x90fe00
call fcn.00443e50
add esp, 0x1c
mov eax, 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443b8c
lea eax, [ebp - 0x108]
mov ecx, 0x911330
push eax
push 1
push 0x111
push 1
push 0xf007
call fcn.0042f4d0
push eax
movzx eax, word [0x90fe08]
mov ecx, 0x911330
push 0
push eax
call fcn.0042f4d0
push eax
push 0
push 0x90fe00
call fcn.00443e50
add esp, 0x1c
mov eax, 3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 8
test edi, edi
je 0x443bc0
cmp byte [edi], 0
je 0x443bc0
push 0x5a39dc
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.005111bf
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.005111bf
add esp, 0x18
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443bd0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x107]
push eax
call fcn.00500630
push 0x5a39e0
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0x22
push 0x104
push eax
call fcn.005111bf
add esp, 0x18
lea eax, [ebp - 0x108]
push 1
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x443c86
push esi
push 1
push 0x111
push 0
push 0xf007
mov ecx, 0x911330
call fcn.0042f4d0
push eax
movzx eax, word [0x90fe08]
mov ecx, 0x911330
push 0
push eax
call fcn.0042f4d0
push eax
push 0
push 0x90fe00
call fcn.00443e50
add esp, 0x1c
mov eax, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 8
Function at 0x444570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov ecx, 0x90fe00
mov dword [ebp - 0x18], ebx
movzx eax, word [esi + 0xc]
push eax
call fcn.004404d0
imul eax, eax, 0x11c
mov dword [ebp - 0x1c], 0x200
add eax, dword [0x91155c]
cmp dword [ebx + 0x1520], 0
mov dword [ebp - 0x20], eax
je 0x4445c3
cmp dword [esi + 0x50], 0
je 0x4446ed
push 0
push 0
push 0x83ef
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x50], 0
mov ebx, eax
jne 0x4445fa
test ebx, ebx
jne 0x4445fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1518]
test ecx, ecx
je 0x44460b
push ecx
mov ecx, eax
jmp 0x444606
test ebx, ebx
je 0x44460b
cmp ebx, esi
je 0x44460b
mov ecx, dword [ebp - 0x18]
push esi
call fcn.0043d280
mov edi, dword [ebp - 0x20]
test dword [edi + 0xc], 0x8000
jne 0x44465a
push dword [esi + 4]
call fcn.0042e250
add esp, 4
test al, al
je 0x44465a
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x444653
push 4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x444653
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x44465a
mov dword [ebp - 0x1c], 0x600
cmp word [edi + 2], 3
jne 0x44469d
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x151c], 0
je 0x44469d
cmp ebx, esi
je 0x44469d
test dword [edi + 0xc], 0x1000000
je 0x444685
mov ecx, esi
call fcn.00452d60
test al, al
je 0x44469d
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004533e0
movzx eax, word [esi + 0xc]
mov ecx, 0x90fe00
push eax
call fcn.004404d0
cmp eax, 0xffffffff
je 0x4446ed
imul edx, eax, 0x11c
mov eax, dword [edi + 0xc]
shr eax, 5
not eax
and eax, 0x400
add edx, dword [0x91155c]
or eax, 0x200
not eax
mov ecx, dword [edx + 0xc]
and eax, ecx
or eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
cmp ecx, eax
je 0x4446ed
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
Function at 0x444910
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00508ec0
lea eax, [ebp - 0x108]
push eax
call fcn.0042e540
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x444985
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0042d2a0
add esp, 8
test eax, eax
je 0x444985
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
push str.DFCWriteTest.tmp
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.005111bf
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4449d7
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
Function at 0x44b2c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
push ebx
push 0x5a3df8
push 0x104
push eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x254], ebx
call fcn.00407c70
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x250], edi
cmp edi, 0xffffffff
je 0x44b45b
push esi
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x248], 0x10
je 0x44b444
mov ecx, 0x5a0750
lea eax, [ebp - 0x21c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44b368
test dl, dl
je 0x44b364
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44b368
add eax, 2
add ecx, 2
test dl, dl
jne 0x44b348
xor eax, eax
jmp 0x44b36d
sbb eax, eax
or eax, 1
test eax, eax
je 0x44b444
mov eax, 0x5a3e00
lea ecx, [ebp - 0x21c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44b3a0
test dl, dl
je 0x44b39c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44b3a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x44b380
xor eax, eax
jmp 0x44b3a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x44b444
lea eax, [ebp - 0x21c]
push eax
push ebx
push str._s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407c70
mov eax, dword [ebp - 0x24c]
xor esi, esi
lea ebx, [eax + 0xb44]
add esp, 0x14
cmp dword [ebx], esi
jle 0x44b415
xor edi, edi
mov eax, dword [eax + 0xb48]
lea ecx, [ebp - 0x108]
add eax, edi
push ecx
push eax
call fcn.00504753
add esp, 8
test eax, eax
je 0x44b40f
mov eax, dword [ebp - 0x24c]
inc esi
add edi, 0x104
cmp esi, dword [ebx]
jl 0x44b3e2
mov edi, dword [ebp - 0x250]
mov eax, dword [ebx]
cmp esi, eax
jne 0x44b42c
push 1
push eax
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
call fcn.00442440
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x108]
push eax
call fcn.0044b2c0
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44b330
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
Function at 0x44b480
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push ebx
push str._s.
push 0x104
push eax
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x468], ebx
call fcn.0044bcd0
add esp, 0x10
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x464], edi
cmp edi, 0xffffffff
je 0x44b629
push esi
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x45c], 0x10
je 0x44b612
mov ecx, 0x5a3e14
lea eax, [ebp - 0x430]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44b52e
test dx, dx
je 0x44b52a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44b52e
add eax, 4
add ecx, 4
test dx, dx
jne 0x44b508
xor eax, eax
jmp 0x44b533
sbb eax, eax
or eax, 1
test eax, eax
je 0x44b612
mov eax, 0x5a3e18
lea ecx, [ebp - 0x430]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44b56c
test dx, dx
je 0x44b568
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44b56c
add ecx, 4
add eax, 4
test dx, dx
jne 0x44b546
xor eax, eax
jmp 0x44b571
sbb eax, eax
or eax, 1
test eax, eax
je 0x44b612
lea eax, [ebp - 0x430]
push eax
push ebx
push 0x5a3e20
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044bcd0
mov eax, dword [ebp - 0x460]
xor esi, esi
lea ebx, [eax + 0x1670]
add esp, 0x14
cmp dword [ebx], esi
jle 0x44b5e3
xor edi, edi
nop
mov eax, dword [eax + 0x1674]
lea ecx, [ebp - 0x20c]
add eax, edi
push ecx
push eax
call fcn.00512ae9
add esp, 8
test eax, eax
je 0x44b5dd
mov eax, dword [ebp - 0x460]
inc esi
add edi, 0x208
cmp esi, dword [ebx]
jl 0x44b5b0
mov edi, dword [ebp - 0x464]
mov eax, dword [ebx]
cmp esi, eax
jne 0x44b5fa
push 1
push eax
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0044b650
mov ecx, dword [ebp - 0x460]
lea eax, [ebp - 0x20c]
push eax
call fcn.0044b480
mov ebx, dword [ebp - 0x468]
lea eax, [ebp - 0x45c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44b4f0
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
Function at 0x44b800
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0xc78], edi
cmp byte [edi], 0
jne 0x44b835
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x104], 0
jne 0x44b851
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
je 0x44b86b
mov dword [edi + 0xb44], 0
mov dword [edi + 0xb30], 0
push ebx
push esi
mov esi, dword [edi + 0xb44]
lea ecx, [edi + 0xb44]
push 1
push esi
push edi
mov dword [ebp - 0xc80], esi
call fcn.00442440
push edi
mov ecx, edi
call fcn.0044b2c0
cmp esi, dword [edi + 0xb44]
jge 0x44ba46
imul ebx, esi, 0x104
mov dword [ebp - 0xc74], ebx
nop dword [eax + eax]
push 0xffffffffffffffff
lea eax, [edi + 0x104]
push eax
lea eax, [ebp - 0xb30]
push 0xa28
push eax
call fcn.00508ec0
add esp, 0x10
lea esi, [ebp - 0xb30]
cmp byte [ebp - 0xb30], 0
je 0x44ba21
movsx eax, byte [edi + 0xb2c]
push eax
push esi
call fcn.00500350
mov ebx, eax
add esp, 8
mov dword [ebp - 0xc84], ebx
test ebx, ebx
je 0x44b900
mov byte [ebx], 0
mov eax, dword [edi + 0xb48]
push esi
mov esi, dword [ebp - 0xc74]
add eax, esi
push eax
push str._s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407c70
add esp, 0x14
lea eax, [ebp - 0xc70]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc7c], eax
cmp eax, 0xffffffff
je 0x44ba03
lea ebx, [edi + 0xb30]
lea eax, [ebp - 0xc44]
push eax
mov eax, dword [edi + 0xb48]
add eax, esi
push eax
push str._s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407c70
xor esi, esi
add esp, 0x14
cmp dword [ebx], esi
jle 0x44b9b6
xor edi, edi
mov eax, dword [ebp - 0xc78]
lea ecx, [ebp - 0x108]
push ecx
mov eax, dword [eax + 0xb34]
add eax, edi
push eax
call fcn.00504753
add esp, 8
test eax, eax
je 0x44b9b0
inc esi
add edi, 0x104
cmp esi, dword [ebx]
jl 0x44b983
mov edi, dword [ebp - 0xc78]
mov eax, dword [ebx]
cmp esi, eax
jne 0x44b9d6
test byte [ebp - 0xc70], 0x10
jne 0x44b9d6
push 1
push eax
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
call fcn.00442440
lea eax, [ebp - 0xc70]
push eax
push dword [ebp - 0xc7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, dword [ebp - 0xc74]
test eax, eax
jne 0x44b952
mov eax, dword [ebp - 0xc7c]
mov ebx, dword [ebp - 0xc84]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x44ba1b
cmp byte [ebx + 1], 0
lea esi, [ebx + 1]
jne 0x44b8e0
mov ebx, dword [ebp - 0xc74]
mov eax, dword [ebp - 0xc80]
add ebx, 0x104
inc eax
mov dword [ebp - 0xc74], ebx
mov dword [ebp - 0xc80], eax
cmp eax, dword [edi + 0xb44]
jl 0x44b8b0
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0xb30]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4