joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801737b
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.1800f9cd
test al, al
je 0x18017412
call fcn.18017cc5
test al, al
jne 0x18017412
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x180173b8
call fcn.18011439
mov ebx, eax
jmp 0x1801740e
lea ecx, [ebp - 4]
call fcn.18047d14
push 2
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180173ea
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x180173f1
call fcn.18011439
mov ebx, eax
test esi, esi
je 0x180173fc
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003435
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
jmp 0x18017414
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18017a4f
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 8], eax
call fcn.180181a0
test al, al
je 0x18017a6d
xor eax, eax
jmp 0x18017b1a
call fcn.18017232
mov esi, eax
mov ecx, esi
call fcn.18012148
test esi, esi
jns 0x18017a86
mov eax, esi
jmp 0x18017b1a
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x18017ab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017b18
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18017b18
lea ecx, [ebp - 4]
call fcn.18047db1
push 2
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x18017ae6
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
push 1
push 3
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x18017afb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017afb
movzx ebx, bx
or ebx, 0x80070000
test esi, esi
je 0x18017b06
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003435
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18017d97
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 8], eax
call fcn.1801832c
test al, al
je 0x18017db5
xor eax, eax
jmp 0x18017e62
call fcn.1801755a
mov esi, eax
mov ecx, esi
call fcn.18012148
test esi, esi
jns 0x18017dce
mov eax, esi
jmp 0x18017e62
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x18017dfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017e60
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18017e60
lea ecx, [ebp - 4]
call fcn.18047d14
push 2
push dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x18017e2e
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x18017e43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017e43
movzx ebx, bx
or ebx, 0x80070000
test esi, esi
je 0x18017e4e
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003435
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18017e67
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x18017e9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017f0c
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18017f0c
lea ecx, [ebp - 4]
call fcn.18047d14
lea ecx, [ebp - 8]
call fcn.180182bc
push ebx
push ebx
push str.RPCSS
push ebx
push ebx
push edi
mov edi, dword [ebp - 8]
push 1
push 2
push 0x10
push 0xf01ff
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x18017eeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18017ef2
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18017ef2
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [edi - 0x10]
call fcn.18003435
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003435
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x180187d5
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x18195008]
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.1800326a
push dword [eax + 4]
push dword [eax]
call fcn.1812b60c
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 0x1801883b
push eax
call fcn.1812d625
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1801886a
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.18120ca0
leave
ret

Function at 0x18018a9b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x18197940], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x18197940
je 0x18018ad3
push ecx
mov ecx, ebx
call fcn.1801234e
mov esi, eax
mov ecx, esi
call fcn.18012148
test esi, esi
js 0x18018b50
add ebx, 0x24
cmp dword [ebx], 0
jne 0x18018ab2
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x18018b71
jne 0x18018b6e
cmp byte [edi + 0x3c], 0
je 0x18018b5b
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18018b54
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x18018cdb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18018b25
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18018b54
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018b47
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18018b63
xor ebx, ebx
jmp 0x18018ad7
mov esi, 0x80004005
jmp 0x18018b67
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018b71
call fcn.18018c59
jmp 0x18018b71
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x18018b7a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x181979d0], 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x181979d0
je 0x18018bb2
push ecx
mov ecx, ebx
call fcn.1801234e
mov esi, eax
mov ecx, esi
call fcn.18012148
test esi, esi
js 0x18018c2f
add ebx, 0x24
cmp dword [ebx], 0
jne 0x18018b91
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x18018c50
jne 0x18018c4d
cmp byte [edi + 0x3c], 0
je 0x18018c3a
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18018c33
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edi
push 0x18018cdb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18018c04
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18018c33
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018c26
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18018c42
xor ebx, ebx
jmp 0x18018bb6
mov esi, 0x80004005
jmp 0x18018c46
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18018c50
call fcn.18018c9a
jmp 0x18018c50
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1801b22a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
and dword [esi + 0x1c], 0
test ecx, ecx
je 0x1801b23e
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
lea ecx, [esi + 0x18]
call fcn.1801c285
mov ecx, dword [0x1819a528]
pop esi
mov ecx, dword [ecx]
jmp fcn.180147c1

Function at 0x1801f10c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
xor edi, edi
mov bl, dl
mov bh, cl
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 4]
mov ecx, eax
call fcn.1808b370
test eax, eax
je 0x1801f226
cmp dword [ebp - 4], edi
je 0x1801f226
push esi
lea ecx, [ebp - 0xc]
call fcn.1800d17a
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.1800585a
push str.GoogleUpdateComRegisterShell64.exe
lea ecx, [ebp - 8]
call fcn.180086b6
mov esi, dword [ebp - 8]
test eax, eax
jne 0x1801f172
call fcn.18011439
mov ebx, eax
jmp 0x1801f20e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1801f187
mov ebx, 0x80070002
jmp 0x1801f20e
call fcn.18002dd1
push eax
lea ecx, [ebp - 8]
call fcn.18005b92
mov eax, 0x18158a9c
mov ecx, eax
test bl, bl
jne 0x1801f1a5
mov ecx, str._unregister
test bh, bh
jne 0x1801f1ae
mov eax, str._user
push ecx
push eax
lea eax, [ebp - 8]
push 0x18177230
push eax
call fcn.1800dbe3
add esp, 0xc
lea ecx, [ebp - 0x38]
push esi
call fcn.1800dede
push edi
push edi
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0x38]
push edi
call fcn.1800e054
mov ebx, eax
test ebx, ebx
js 0x1801f1fe
push 0x7530
lea ecx, [ebp - 0x38]
call fcn.1800e138
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x38]
call fcn.1800dffb
lea ecx, [edi - 0x10]
call fcn.18003435
lea ecx, [esi - 0x10]
call fcn.18003435
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18003435
mov eax, ebx
pop esi
jmp 0x1801f228
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x1801fb6f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.1801eef8
mov ebx, eax
test ebx, ebx
je 0x1801fb9f
cmp dword [ebx], 0
je 0x1801fb9f
push ecx
mov ecx, ebx
call fcn.1801234e
mov esi, eax
test esi, esi
js 0x1801fc1c
add ebx, 0x24
jne 0x1801fb83
xor ebx, ebx
mov esi, ebx
test esi, esi
js 0x1801fc3f
jne 0x1801fc3c
cmp byte [edi + 0x3c], 0
je 0x1801fc27
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1801fc20
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x18021bc5
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1801fbf1
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x30], ebx
test ebx, ebx
je 0x1801fc20
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801fc13
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801fc2f
xor ebx, ebx
jmp 0x1801fba3
mov esi, 0x80004005
jmp 0x1801fc33
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1801fc3f
mov ecx, edi
call fcn.1801f024
jmp 0x1801fc3f
mov byte [edi + 0x3c], bl
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x180221ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x18195008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x210]
push 0x208
push esi
mov ebx, 0x18173944
mov dword [ebp - 0x220], esi
push eax
mov edi, ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
call fcn.181237a0
lea ecx, [ebp - 0x224]
mov dword [esp], 0x20008
call fcn.1800d04d
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x220]
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x18022291
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
call fcn.1800585a
mov edx, edi
lea ecx, [ebp - 0x214]
call fcn.18006d9d
mov ecx, dword [ebp - 0x214]
mov esi, eax
add ecx, 0xfffffff0
call fcn.18003435
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], ebx
call fcn.18006988
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18120ca0
leave
ret
Function at 0x18022fc1
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x18022fdd
mov eax, 0x80070057
jmp 0x18023049
call fcn.18002dd1
push eax
lea ecx, [ebp + 0xc]
call fcn.18005b92
push dword [esi]
lea eax, [ebp + 0xc]
push str._s_last.dmp
push eax
call fcn.1800dbe3
lea eax, [ebp + 0xc]
push eax
lea edx, [ebx + 4]
lea ecx, [ebp - 4]
call fcn.1800d797
mov esi, dword [ebp - 4]
add esp, 0x10
cmp dword [esi - 0xc], edi
jne 0x1802301c
mov edi, 0x80040709
jmp 0x18023034
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18023034
call fcn.18011439
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18003435
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.18003435
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x18023050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x18195008]
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 - 0x70]
xor ebx, ebx
push ecx
mov ecx, dword [eax + 4]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.180094c6
mov esi, eax
pop ecx
test esi, esi
js 0x1802319e
call fcn.1800a8bd
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
sub edi, eax
mov dword [ebp - 0x80], edx
cmp edi, 4
jb 0x1802319c
sar edi, 2
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
mov esi, dword [eax + ebx*4]
mov ecx, esi
call fcn.18009479
movzx eax, al
neg eax
push 0
sbb eax, eax
and eax, 0x2000000
push eax
push 3
push 0
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x64], eax
cmp esi, 0xffffffff
jne 0x180230fe
call fcn.18011439
jmp 0x18023121
push eax
push eax
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x18023117
call fcn.18011439
mov dword [ebp - 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
test eax, eax
js 0x18023190
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
or ecx, dword [ebp - 0x78]
sub eax, ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
sbb ecx, dword [ebp - 0x74]
and dword [ebp - 0x90], 0
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x84], ecx
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.1812d749
fcomp qword [0x1818f908]
fnstsw ax
pop ecx
pop ecx
test ah, 1
jne 0x18023190
mov eax, dword [ebp - 0x70]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x70]
inc ebx
cmp ebx, edi
jne 0x180230bb
xor esi, esi
lea ecx, [ebp - 0x70]
call fcn.18009f23
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18120ca0
leave
ret
Function at 0x1802ec81
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1802edd4
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1802edd4
cmp eax, 0x29
jne 0x1802ecba
cmp dword [esi + 0x10], 0
jne 0x1802edd4
test dword [esi + 0x50], edx
je 0x1802edda
cmp eax, 0x2e
jne 0x1802ecd5
push 5
lea ecx, [esi + 0x24]
call fcn.1802eead
mov ecx, esi
call fcn.1802ec58
jmp 0x1802edbe
cmp eax, 0x5c
jne 0x1802ed2a
mov ecx, esi
call fcn.1802ec58
test byte [esi + 0x50], 0x80
je 0x1802ed1e
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1802ed06
push 4
lea ecx, [esi + 0x24]
call fcn.1802eead
mov ecx, esi
call fcn.1802ec58
jmp 0x1802edc5
cmp eax, 0x42
jne 0x1802ed1e
push 4
lea ecx, [esi + 0x24]
call fcn.1802eead
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1802ecfa
mov ecx, esi
call fcn.1802f9db
jmp 0x1802edbe
cmp eax, 0x5b
jne 0x1802ed4a
mov ecx, esi
call fcn.1802ec58
mov ecx, esi
call fcn.1802f98f
cmp dword [esi + 0x4c], 0x5d
je 0x1802ecc9
push 4
jmp 0x1802eddc
cmp eax, 0x28
jne 0x1802ed67
mov ecx, esi
call fcn.1802ec58
mov ecx, esi
call fcn.1802fab4
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1802edda
jmp 0x1802edb3
cmp eax, 0x5e
jne 0x1802ed70
push 2
jmp 0x1802ecf2
cmp eax, 0x24
jne 0x1802ed7c
push 3
jmp 0x1802ecf2
cmp eax, 0x2a
je 0x1802edd0
cmp eax, 0x2b
je 0x1802edd0
cmp eax, 0x3f
je 0x1802edd0
cmp eax, 0x7b
je 0x1802edd0
cmp eax, 0x7d
jne 0x1802ed9a
test dword [esi + 0x50], edx
je 0x1802edcc
cmp eax, 0x5d
jne 0x1802eda4
test dword [esi + 0x50], edx
je 0x1802ed43
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1802fc7d
mov bl, 1
mov ecx, esi
call fcn.1802ec58
test bl, bl
je 0x1802edc5
mov ecx, esi
call fcn.1802fba3
mov cl, 1
jmp 0x1802ec88
push 6
jmp 0x1802eddc
push 0xa
jmp 0x1802eddc
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1802e17a
int3
Function at 0x18036063
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x18195008]
xor eax, esp
mov dword [esp + 0x278], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x250
mov dword [esp + 0x18], eax
xor ebx, ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x30], edx
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
call fcn.181237a0
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, esi
push 0x1817377c
call fcn.1800579b
pop ecx
lea ecx, [esp + 0x30]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x28]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.18003435
cmp esi, 0xffffffff
jne 0x18036103
call fcn.18011439
mov edi, eax
mov ebx, edi
cmp esi, 0xffffffff
je 0x180360ec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x284]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18120ca0
mov esp, ebp
pop ebp
ret
mov edi, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x180361ad
sub eax, 1
je 0x1803614d
sub eax, 1
jne 0x1803620d
cmp dword [esp + 0x30], 0x80
je 0x18036134
test byte [esp + 0x30], 0x10
jne 0x1803620d
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
call fcn.18035fb4
pop ecx
mov edi, eax
jmp 0x1803620d
test byte [esp + 0x30], 0x10
je 0x1803620d
lea ecx, [esp + 0x30]
call fcn.18035f77
test al, al
jne 0x1803620d
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.1800585a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.1800d797
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.18003435
push dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 2
pop edx
call fcn.18036063
pop ecx
mov ecx, dword [esp + 0x1c]
jmp 0x18036203
test byte [esp + 0x30], 0x10
je 0x1803620d
lea ecx, [esp + 0x30]
call fcn.18035f77
test al, al
jne 0x1803620d
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.1800585a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.1800d797
pop ecx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.18003435
push dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x28]
inc edx
call fcn.18036063
pop ecx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
mov edi, eax
call fcn.18003435
test edi, edi
js 0x180360de
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18036105
jmp 0x180360e0
Function at 0x1803636d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
push ebx
push esi
mov ebx, ecx
mov ecx, 0x18197570
push edi
mov dword [ebp - 0x10], ebx
call fcn.1801441f
lea eax, [ebx + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.1800d4f8
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18005c0f
add eax, 0x10
xor ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
xor edi, edi
mov dword [ebp - 8], ecx
mov ebx, ecx
cmp dword [eax - 0xc], edi
je 0x180363ed
mov ecx, dword [esi + 4]
sub ecx, 0x10
call fcn.18005c0f
push 3
pop ebx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], edi
mov edi, dword [ebp + 8]
je 0x180363f3
mov ecx, dword [edi + 8]
sub ecx, 0x10
call fcn.18005c0f
add eax, 0x10
xor ecx, ecx
push 7
pop ebx
cmp dword [eax - 0xc], ecx
je 0x180363f6
mov byte [ebp - 8], cl
jmp 0x180363f6
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
test bl, 4
je 0x18036403
lea ecx, [eax - 0x10]
call fcn.18003435
test bl, 2
je 0x18036410
lea ecx, [esi - 0x10]
call fcn.18003435
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18003435
cmp byte [ebp - 8], 0
je 0x1803642b
mov ebx, 0x80070057
jmp 0x180364ab
call fcn.18002dd1
push eax
lea ecx, [ebp + 8]
call fcn.18005b92
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
push edi
call fcn.1803694a
mov esi, eax
test esi, esi
js 0x1803649e
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1800d838
mov ecx, dword [eax]
call fcn.18007567
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.18003435
test esi, esi
js 0x1803649e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [eax]
call fcn.18009607
mov esi, eax
pop ecx
test esi, esi
js 0x1803649e
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.18036a82
mov esi, eax
test esi, esi
jns 0x180364bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.18003435
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
mov ecx, 0x18197590
call fcn.1801441f
xor ebx, ebx
jmp 0x180364a0