joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18041ff6
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
push eax
xor edi, edi
lea eax, [ebp - 0x204]
push edi
push dword [ebp + 0xc]
push 0xff
push 0x100
push eax
call fcn.180078ef
push dword [eax + 4]
push dword [eax]
call fcn.1813701b
xor eax, eax
add esp, 0x20
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x1804205c
push eax
call fcn.1813eda1
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1804208b
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1811aa48
leave
ret

Function at 0x18042324
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181cff60
push edi
mov edi, ecx
cmp dword [0x181cff60], ebx
je 0x18042365
push ecx
mov ecx, esi
call fcn.1803ade9
mov ebx, eax
mov ecx, ebx
call fcn.1801d137
test ebx, ebx
js 0x180423d3
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x18042347
lfence
cmp byte [edi + 0x3c], 0
je 0x180423e1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x180423da
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x18042530
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x180423a8
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180423da
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x180423ca
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180423e9
lfence
mov eax, ebx
jmp 0x180423f4
mov esi, 0x80004005
jmp 0x180423ed
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x180423f2
call fcn.180422e0
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 4
Function at 0x18042449
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d0030
push edi
mov edi, ecx
cmp dword [0x181d0030], ebx
je 0x1804248a
push ecx
mov ecx, esi
call fcn.1803ade9
mov ebx, eax
mov ecx, ebx
call fcn.1801d137
test ebx, ebx
js 0x180424f8
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x1804246c
lfence
cmp byte [edi + 0x3c], 0
je 0x18042506
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x180424ff
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x18042530
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x180424cd
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180424ff
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x180424ef
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1804250e
lfence
mov eax, ebx
jmp 0x18042519
mov esi, 0x80004005
jmp 0x18042512
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042517
call fcn.18042405
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 4

Function at 0x18045a2b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esi + 0x1c]
call fcn.180470e9
mov edi, dword [esi + 0x18]
and dword [esi + 0x18], 0
test edi, edi
je 0x18045a55
mov ecx, edi
call fcn.180854d4
push 0x24
push edi
call fcn.1811af76
pop ecx
pop ecx
mov ecx, dword [0x181d3efc]
pop edi
pop esi
mov ecx, dword [ecx]
jmp fcn.1803d4fe
Function at 0x1804851c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x14], 0
push ebx
push esi
mov byte [ebp - 0x41], cl
mov bh, dl
push edi
lea ecx, [ebp - 0x14]
call fcn.18014e85
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
and dword [ebp - 0x10], 0
push edi
call fcn.180074da
mov bl, byte [ebp + 8]
mov eax, str.MicrosoftEdgeComRegisterShellARM64.exe
test bl, bl
jne 0x18048561
mov eax, str.MicrosoftEdgeUpdateComRegisterShell64.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.1800f879
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x1804857d
call fcn.1801bb25
mov ebx, eax
jmp 0x1804867f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18048592
mov ebx, 0x80070002
jmp 0x1804867f
and dword [ebp - 0xc], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 0xc]
call fcn.1800768f
mov eax, 0x1816eb4c
mov edx, eax
test bh, bh
jne 0x180485b4
mov edx, str._unregister
cmp byte [ebp - 0x41], 0
mov ecx, eax
jne 0x180485c1
mov ecx, str._user
test bl, bl
je 0x180485ca
mov eax, str._arm64
push edx
push ecx
push eax
lea eax, [ebp - 0xc]
push str._s__s__s
push eax
call fcn.18016bb2
add esp, 0x14
lea eax, [ebp - 0x40]
push 0x2c
push 0
push eax
call fcn.1812f700
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.18017827
push 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x40]
call fcn.180179a0
mov ebx, eax
test ebx, ebx
jns 0x1804864c
movzx ecx, byte [0x181d4056]
neg ecx
sbb ecx, ecx
and ecx, 0x181d3f50
je 0x1804866c
push 7
pop edx
push 0xfffffffffffffffe
pop eax
lfence
push eax
push edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
call fcn.18008b3f
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push str._Failed_to_start_COM_register_process__0x_x_
push eax
call fcn.18007210
add esp, 0xc
jmp 0x1804866c
push 0x7530
lea ecx, [ebp - 0x40]
call fcn.18017af4
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x40]
call fcn.18017958
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [esi - 0x10]
call fcn.18006f52
lea ecx, [edi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x18049dca
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.180482f0
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x18049e00
cmp dword [edi], ebx
je 0x18049e00
push ecx
mov ecx, edi
call fcn.1803ade9
test eax, eax
js 0x18049e6d
add edi, 0x24
jne 0x18049deb
lfence
cmp byte [esi + 0x3c], bl
je 0x18049e79
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x18049e72
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x1804c8c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18049e42
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x30], ebx
test ebx, ebx
je 0x18049e72
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x18049e64
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18049e81
lfence
jmp 0x18049e8e
mov edi, 0x80004005
jmp 0x18049e85
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x18049e8c
mov ecx, esi
call fcn.1804840d
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 4
Function at 0x1804da5c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x10], ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x1804da88
mov eax, 0x80070057
jmp 0x1804dafd
mov dword [ebp - 0xc], esi
call fcn.18006f7b
push eax
lea ecx, [ebp - 0xc]
call fcn.1800768f
push dword [edi]
lea eax, [ebp - 0xc]
push str._s_last.dmp
push eax
call fcn.18016bb2
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
add edx, 4
mov dword [ebp - 8], esi
lea ecx, [ebp - 8]
call fcn.18016511
mov eax, dword [ebp - 8]
add esp, 0x10
cmp dword [eax - 0xc], esi
jne 0x1804dad0
mov esi, 0x80040709
jmp 0x1804dae8
push esi
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1804dae5
call fcn.1801bb25
mov esi, eax
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18006f52
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 8
Function at 0x1804db0e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
lea edi, [ebp - 0x60]
push 0x14
pop ecx
mov esi, str.____________________________________.dmp
lea edx, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [eax + 4]
movsw word es:[edi], word [esi]
xor esi, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.18010988
mov ebx, eax
pop ecx
test ebx, ebx
jns 0x1804db61
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
jmp 0x1804dc22
call fcn.1801201e
mov edi, dword [ebp - 0x68]
mov ebx, esi
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov eax, edi
sub eax, esi
mov dword [ebp - 0x7c], edx
cmp eax, 4
jb 0x1804dc20
push ecx
xor edi, edi
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
push ecx
mov ecx, dword [esi + ebx*4]
call fcn.18010f6f
pop ecx
pop ecx
test eax, eax
js 0x1804dc0a
mov edx, dword [ebp - 0x70]
xor ecx, ecx
or ecx, dword [ebp - 0x74]
or edx, edi
mov eax, dword [ebp - 0x78]
sub eax, ecx
mov dword [ebp - 0x90], edi
mov ecx, dword [ebp - 0x7c]
sbb ecx, edx
mov dword [ebp - 0x88], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [ebp - 0x84], ecx
and eax, 0x80000000
fild qword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
push ecx
push ecx
fild qword [ebp - 0x90]
fchs
faddp st(1)
fstp qword [esp]
call fcn.1813ce56
fcomp qword [0x181c5350]
fnstsw ax
pop ecx
pop ecx
test ah, 1
jne 0x1804dc0a
mov eax, dword [ebp - 0x6c]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x68]
inc ebx
mov esi, dword [ebp - 0x6c]
mov eax, edi
sub eax, esi
sar eax, 2
cmp ebx, eax
jne 0x1804db81
xor ebx, ebx
test esi, esi
je 0x1804dc4f
cmp esi, edi
je 0x1804dc3e
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18006f52
add esi, 4
cmp esi, edi
jne 0x1804dc2a
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x64]
sub ecx, esi
and ecx, 0xfffffffc
push ecx
push esi
call fcn.1800a1cd
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x1804e225
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x181ce00c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1e], 0
mov dword [edi], 0x1819c838
je 0x1804e24f
call fcn.1804e84f
and dword [esp + 0x14], 0
lea ecx, [edi + 4]
and dword [esp + 0x18], 0
mov eax, dword [ecx]
xchg dword [ecx], eax
add eax, 4
lea ecx, [esp + 0x14]
push eax
call fcn.1801581d
lea edx, [edi + 0x3c]
xor ebx, ebx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1804e2b1
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804e2a2
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1815e3d4]
mov ecx, dword [esp + 0x14]
call esi
lea edx, [edi + 0x3c]
mov eax, dword [edx + 4]
inc ebx
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1804e280
lea edx, [edi + 0x48]
xor ebx, ebx
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1804e2f5
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804e2e6
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1815e3d4]
mov ecx, dword [esp + 0x14]
call esi
lea edx, [edi + 0x48]
mov eax, dword [edx + 4]
inc ebx
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1804e2c4
mov ebx, dword [edi + 0x38]
and dword [edi + 0x38], 0
test ebx, ebx
je 0x1804e312
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1815e3d4]
mov ecx, ebx
call esi
lea eax, [edi + 4]
mov ecx, dword [eax]
xchg dword [eax], ecx
call fcn.18066664
lea ecx, [esp + 0x14]
call fcn.18015848
mov ecx, dword [edi + 0x98]
sub ecx, 0x10
call fcn.18006f52
lea ecx, [edi + 0x88]
mov esi, 0x1819c028
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x78]
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x68]
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x58]
mov dword [ecx], esi
call fcn.1800bb80
lea ecx, [edi + 0x54]
call fcn.1803fbd9
lea ecx, [edi + 0x48]
call fcn.1800fd35
lea ecx, [edi + 0x3c]
call fcn.1800fd35
mov ebx, dword [edi + 0x38]
test ebx, ebx
je 0x1804e396
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1815e3d4]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x30]
push 0x10
pop ebx
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x2c]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x28]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x18]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x14]
sub ecx, ebx
call fcn.18006f52
mov ecx, dword [edi + 0x10]
sub ecx, ebx
call fcn.18006f52
lea ecx, [edi + 8]
call fcn.18050f81
lea ecx, [edi + 4]
call fcn.1804e06e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1811aa48
mov esp, ebp
pop ebp
ret
Function at 0x18060f7b
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x180610d7
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180610d7
cmp ecx, 0x29
jne 0x18060fbb
cmp dword [esi + 0x10], 0
jne 0x180610d7
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180610db
jmp 0x18061095
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x18060fd9
push 5
lea ecx, [esi + 0x24]
call fcn.180611ab
mov ecx, esi
call fcn.18060f52
jmp 0x180610c5
cmp ecx, 0x5c
jne 0x1806102f
mov ecx, esi
call fcn.18060f52
test byte [edi], 0x80
je 0x18061023
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1806100b
push 4
lea ecx, [esi + 0x24]
call fcn.180611ab
mov ecx, esi
call fcn.18060f52
jmp 0x180610cc
cmp ecx, 0x42
jne 0x18061023
push 4
lea ecx, [esi + 0x24]
call fcn.180611ab
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x18060fff
mov ecx, esi
call fcn.18061aef
jmp 0x180610c5
cmp ecx, 0x5b
jne 0x1806104f
mov ecx, esi
call fcn.18060f52
mov ecx, esi
call fcn.18061aa3
cmp dword [esi + 0x4c], 0x5d
je 0x18060fcd
push 4
jmp 0x180610dd
cmp ecx, 0x28
jne 0x1806106c
mov ecx, esi
call fcn.18060f52
mov ecx, esi
call fcn.18061bc0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180610db
jmp 0x180610ba
cmp ecx, 0x5e
jne 0x18061075
push 2
jmp 0x18060ff7
cmp ecx, 0x24
jne 0x18061081
push 3
jmp 0x18060ff7
cmp ecx, 0x2a
je 0x180610d3
cmp ecx, 0x2b
je 0x180610d3
cmp ecx, 0x3f
je 0x180610d3
cmp ecx, 0x7b
je 0x180610d3
cmp ecx, 0x7d
jne 0x180610a2
test dword [edi], edx
jne 0x180610ab
push 6
jmp 0x180610dd
cmp ecx, 0x5d
jne 0x180610ab
test dword [edi], edx
je 0x18061048
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.18061d27
mov bl, 1
mov ecx, esi
call fcn.18060f52
test bl, bl
je 0x180610cc
mov ecx, esi
call fcn.18061c45
mov al, 1
jmp 0x18060f82
push 0xa
jmp 0x180610dd
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806064f
int3
Function at 0x1806a0d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x181ce00c]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x250
mov dword [esp + 0x14], eax
xor edi, edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], edx
mov ebx, ecx
push edi
push eax
mov dword [esp + 0x18], ebx
call fcn.1812f700
add esp, 0xc
lea ecx, [esp + 0x20]
mov edx, ebx
push 0x1819fcf8
call fcn.18009c81
pop ecx
lea ecx, [esp + 0x28]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x20]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18006f52
cmp esi, 0xffffffff
jne 0x1806a170
call fcn.1801bb25
mov ebx, eax
mov edi, ebx
cmp esi, 0xffffffff
je 0x1806a159
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x27c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1811aa48
mov esp, ebp
pop ebp
ret
mov ebx, edi
mov eax, dword [esp + 0x1c]
sub eax, edi
je 0x1806a210
sub eax, 1
je 0x1806a1ba
sub eax, 1
jne 0x1806a27c
cmp dword [esp + 0x28], 0x80
je 0x1806a1a1
test byte [esp + 0x28], 0x10
jne 0x1806a274
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
call fcn.1806a00b
pop ecx
mov ebx, eax
jmp 0x1806a274
test byte [esp + 0x28], 0x10
je 0x1806a274
lea ecx, [esp + 0x28]
call fcn.18069fce
test al, al
jne 0x1806a274
lea eax, [esp + 0x54]
mov dword [esp + 0x24], edi
push eax
lea ecx, [esp + 0x18]
call fcn.180074da
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.18016511
pop ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push dword [esp + 0x10]
push 2
pop edx
jmp 0x1806a25c
test byte [esp + 0x28], 0x10
je 0x1806a274
lea ecx, [esp + 0x28]
call fcn.18069fce
test al, al
jne 0x1806a274
lea eax, [esp + 0x54]
mov dword [esp + 0x24], edi
push eax
lea ecx, [esp + 0x1c]
call fcn.180074da
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.18016511
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push dword [esp + 0x10]
xor edx, edx
inc edx
lea ecx, [esp + 0x28]
call fcn.1806a0d0
pop ecx
mov ecx, dword [esp + 0x24]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.18006f52
test ebx, ebx
js 0x1806a14b
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1806a172
jmp 0x1806a152
Function at 0x1806adb2
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
lea eax, [edi + 0x14]
push eax
call fcn.1801581d
mov ecx, esi
call fcn.1800c079
mov ecx, eax
mov dword [ebp - 0x27c], eax
or ecx, edx
mov dword [ebp - 0x278], edx
jne 0x1806ae07
mov edi, 0x80070057
jmp 0x1806aff8
and dword [ebp - 0xc], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 0xc]
call fcn.1800768f
call fcn.18006f7b
push eax
lea ecx, [ebp - 0x26c]
call fcn.1800768f
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.1806b229
mov ecx, dword [ebp - 8]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.18006f52
test edi, edi
js 0x1806afed
push 0x250
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.1812f700
add esp, 0xc
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x274]
push 0x1819fcf8
call fcn.18009c81
pop ecx
lea ecx, [ebp - 0x268]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x274]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18006f52
cmp esi, 0xffffffff
jne 0x1806aecc
call fcn.1801bb25
mov edi, eax
jmp 0x1806afed
lea ecx, [ebp - 0x268]
call fcn.18069fce
test al, al
jne 0x1806afce
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.180074da
lea ecx, [ebp - 0x26c]
call fcn.1800c079
mov ecx, dword [ebp - 0x26c]
mov ebx, eax
add ecx, 0xfffffff0
mov edi, edx
call fcn.18006f52
mov ecx, ebx
or ecx, edi
je 0x1806afce
cmp edi, dword [ebp - 0x278]
ja 0x1806afce
jb 0x1806af32
cmp ebx, dword [ebp - 0x27c]
jae 0x1806afce
and dword [ebp - 8], 0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x270]
call fcn.180074da
lea eax, [ebp - 0x270]
push eax
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.18016511
pop ecx
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 8]
call fcn.1800d0b0
movzx ecx, byte [0x181d4056]
mov edi, eax
neg ecx
sbb ecx, ecx
and ecx, 0x181d3f50
je 0x1806afc3
push 7
pop ebx
push 3
pop eax
push eax
push ebx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], eax
call fcn.18008b3f
push edi
push dword [ebp - 8]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x28c]
push str._Purge_version___s__0x_x_
push eax
call fcn.18007210
add esp, 0x10
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1806aecc
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [ebp - 0x14]
call fcn.18015848
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 8
Function at 0x1806e153
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
call fcn.18006f7b
push eax
mov ecx, ebx
call fcn.1800768f
xor ecx, ecx
lea eax, [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [esi]
sub ecx, 0x10
mov dword [ebp - 0x14], eax
call fcn.1800a0ba
xor ebx, ebx
inc ebx
lea edi, [eax + 0x10]
mov dword [ebp - 0xc], edi
cmp dword [edi - 4], ebx
jle 0x1806e1b4
push dword [edi - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800783c
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x1806e24f
cmp dword [ebp - 8], ebx
jl 0x1806e248
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1806e1db
xor ecx, ecx
jmp 0x1806e1e7
push eax
call fcn.18133750
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.180075cd
cmp dword [ebp - 8], ebx
jle 0x1806e248
mov edi, dword [ebp - 0x14]
push dword [esi + ebx*4]
lea ecx, [ebp - 0x10]
call fcn.180074da
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 8]
je 0x1806e228
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1800a0ba
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x1806e234
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1800a127
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x1806e1f9
mov edi, dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [edi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1811aa48
leave
ret 4