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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.18015ca1
test al, al
je 0x18040695
call fcn.18041087
test al, al
jne 0x18040695
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x18040638
call fcn.1801baa5
mov ebx, eax
jmp 0x18040691
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.18081bdf
push 2
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1804066d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x18040678
call fcn.1801baa5
mov ebx, eax
test esi, esi
je 0x1804067f
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
jmp 0x18040697
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret

Function at 0x18040cf4
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0xc], eax
call fcn.180419b4
test al, al
je 0x18040d1c
xor eax, eax
jmp 0x18040dcf
call fcn.1804026b
mov esi, eax
mov ecx, esi
call fcn.1801d0b7
test esi, esi
jns 0x18040d38
lfence
mov eax, esi
jmp 0x18040dcf
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x18040d64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18040dcd
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18040dcd
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.18081c9c
push 2
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x18040d9b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
push 1
push 3
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x18040db4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18040db0
movzx ebx, bx
or ebx, 0x80070000
test esi, esi
je 0x18040dbb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret
Function at 0x1804115f
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0xc], eax
call fcn.18041b62
test al, al
je 0x18041187
xor eax, eax
jmp 0x1804123a
call fcn.1804073c
mov esi, eax
mov ecx, esi
call fcn.1801d0b7
test esi, esi
jns 0x180411a3
lfence
mov eax, esi
jmp 0x1804123a
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x180411cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18041238
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18041238
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.18081bdf
push 2
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x18041206
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x1804121f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1804121b
movzx ebx, bx
or ebx, 0x80070000
test esi, esi
je 0x18041226
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
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 0x1804128e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x18041303
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18041303
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.18081bdf
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.18041ad6
push ebx
push ebx
push str.RPCSS
push ebx
push ebx
push edi
mov edi, dword [ebp - 0xc]
push 1
push 2
push 0x10
push 0xf01ff
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x180412e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x180412e9
movzx ebx, bx
or ebx, 0x80070000
jmp 0x180412e9
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [edi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret
Function at 0x18042075
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x181d000c]
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.1813a86b
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 0x180420db
push eax
call fcn.181425f1
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1804210a
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.1811e2a8
leave
ret

Function at 0x180423a3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d1f60
push edi
mov edi, ecx
cmp dword [0x181d1f60], ebx
je 0x180423e4
push ecx
mov ecx, esi
call fcn.1803ae69
mov ebx, eax
mov ecx, ebx
call fcn.1801d0b7
test ebx, ebx
js 0x18042452
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x180423c6
lfence
cmp byte [edi + 0x3c], 0
je 0x18042460
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x18042459
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x180425b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18042427
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18042459
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042449
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 0x18042468
lfence
mov eax, ebx
jmp 0x18042473
mov esi, 0x80004005
jmp 0x1804246c
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042471
call fcn.1804235f
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret 4
Function at 0x180424c8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d2030
push edi
mov edi, ecx
cmp dword [0x181d2030], ebx
je 0x18042509
push ecx
mov ecx, esi
call fcn.1803ae69
mov ebx, eax
mov ecx, ebx
call fcn.1801d0b7
test ebx, ebx
js 0x18042577
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x180424eb
lfence
cmp byte [edi + 0x3c], 0
je 0x18042585
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1804257e
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x180425b0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x1804254c
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1804257e
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x1804256e
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 0x1804258d
lfence
mov eax, ebx
jmp 0x18042598
mov esi, 0x80004005
jmp 0x18042591
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18042596
call fcn.18042484
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret 4

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

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esi + 0x1c]
call fcn.18047169
mov edi, dword [esi + 0x18]
and dword [esi + 0x18], 0
test edi, edi
je 0x18045ad5
mov ecx, edi
call fcn.18085534
push 0x24
push edi
call fcn.1811e7d6
pop ecx
pop ecx
mov ecx, dword [0x181d5efc]
pop edi
pop esi
mov ecx, dword [ecx]
jmp fcn.1803d57e
Function at 0x1804859c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x181d000c]
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.18014de5
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 0x180485e1
mov eax, str.MicrosoftEdgeUpdateComRegisterShell64.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.1800f7d5
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x180485fd
call fcn.1801baa5
mov ebx, eax
jmp 0x180486ff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18048612
mov ebx, 0x80070002
jmp 0x180486ff
and dword [ebp - 0xc], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 0xc]
call fcn.1800768f
mov eax, 0x18172bbc
mov edx, eax
test bh, bh
jne 0x18048634
mov edx, str._unregister
cmp byte [ebp - 0x41], 0
mov ecx, eax
jne 0x18048641
mov ecx, str._user
test bl, bl
je 0x1804864a
mov eax, str._arm64
push edx
push ecx
push eax
lea eax, [ebp - 0xc]
push str._s__s__s
push eax
call fcn.18016b1d
add esp, 0x14
lea eax, [ebp - 0x40]
push 0x2c
push 0
push eax
call fcn.18132f50
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.18017792
push 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x40]
call fcn.18017900
mov ebx, eax
test ebx, ebx
jns 0x180486cc
movzx ecx, byte [0x181d605a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d5f50
je 0x180486ec
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 0x180486ec
push 0x7530
lea ecx, [ebp - 0x40]
call fcn.18017a54
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x40]
call fcn.180178b8
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.1811e2a8
leave
ret
Function at 0x18049e4a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.18048370
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x18049e80
cmp dword [edi], ebx
je 0x18049e80
push ecx
mov ecx, edi
call fcn.1803ae69
test eax, eax
js 0x18049eed
add edi, 0x24
jne 0x18049e6b
lfence
cmp byte [esi + 0x3c], bl
je 0x18049ef9
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x18049ef2
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x1804c930
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x18049ec2
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x30], ebx
test ebx, ebx
je 0x18049ef2
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x18049ee4
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 0x18049f01
lfence
jmp 0x18049f0e
mov edi, 0x80004005
jmp 0x18049f05
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x18049f0c
mov ecx, esi
call fcn.1804848d
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e2a8
leave
ret 4
Function at 0x1804dacc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181d000c]
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 0x1804daf8
mov eax, 0x80070057
jmp 0x1804db6d
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.18016b1d
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.1801647c
mov eax, dword [ebp - 8]
add esp, 0x10
cmp dword [eax - 0xc], esi
jne 0x1804db40
mov esi, 0x80040709
jmp 0x1804db58
push esi
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1804db55
call fcn.1801baa5
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.1811e2a8
leave
ret 8
Function at 0x1804db7e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x181d000c]
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.180108e6
mov ebx, eax
pop ecx
test ebx, ebx
jns 0x1804dbd1
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
jmp 0x1804dc9e
call fcn.18011f7e
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 0x1804dc9c
push ecx
xor edi, edi
lea edx, [ebp - 0x74]
push ecx
mov ecx, dword [esi + ebx*4]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
call fcn.18010ecd
pop ecx
pop ecx
test eax, eax
js 0x1804dc86
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 [ebp - 0x98]
fld qword [ebp - 0x98]
fstp qword [esp]
call fcn.181406a6
fcomp qword [0x181c6e70]
fnstsw ax
pop ecx
pop ecx
test ah, 1
jne 0x1804dc86
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 0x1804dbf1
xor ebx, ebx
test esi, esi
je 0x1804dccb
cmp esi, edi
je 0x1804dcba
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18006f52
add esi, 4
cmp esi, edi
jne 0x1804dca6
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.1811e2a8
leave
ret
Function at 0x1804e2a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x181d000c]
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], 0x1819d9e4
je 0x1804e2cf
call fcn.1804e8cf
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.1801577d
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 0x1804e331
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804e322
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
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 0x1804e300
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 0x1804e375
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1804e366
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
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 0x1804e344
mov ebx, dword [edi + 0x38]
and dword [edi + 0x38], 0
test ebx, ebx
je 0x1804e392
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
mov ecx, ebx
call esi
lea eax, [edi + 4]
mov ecx, dword [eax]
xchg dword [eax], ecx
call fcn.18066684
lea ecx, [esp + 0x14]
call fcn.180157a8
mov ecx, dword [edi + 0x98]
sub ecx, 0x10
call fcn.18006f52
lea ecx, [edi + 0x88]
mov esi, 0x1819d1d8
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.1803fc59
lea ecx, [edi + 0x48]
call fcn.1800fc91
lea ecx, [edi + 0x3c]
call fcn.1800fc91
mov ebx, dword [edi + 0x38]
test ebx, ebx
je 0x1804e416
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x181623e8]
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.18051001
lea ecx, [edi + 4]
call fcn.1804e0ee
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1811e2a8
mov esp, ebp
pop ebp
ret
Function at 0x18060f9b
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 0x180610f7
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180610f7
cmp ecx, 0x29
jne 0x18060fdb
cmp dword [esi + 0x10], 0
jne 0x180610f7
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180610fb
jmp 0x180610b5
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x18060ff9
push 5
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.18060f72
jmp 0x180610e5
cmp ecx, 0x5c
jne 0x1806104f
mov ecx, esi
call fcn.18060f72
test byte [edi], 0x80
je 0x18061043
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x1806102b
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov ecx, esi
call fcn.18060f72
jmp 0x180610ec
cmp ecx, 0x42
jne 0x18061043
push 4
lea ecx, [esi + 0x24]
call fcn.180611cb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1806101f
mov ecx, esi
call fcn.18061b0f
jmp 0x180610e5
cmp ecx, 0x5b
jne 0x1806106f
mov ecx, esi
call fcn.18060f72
mov ecx, esi
call fcn.18061ac3
cmp dword [esi + 0x4c], 0x5d
je 0x18060fed
push 4
jmp 0x180610fd
cmp ecx, 0x28
jne 0x1806108c
mov ecx, esi
call fcn.18060f72
mov ecx, esi
call fcn.18061be0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180610fb
jmp 0x180610da
cmp ecx, 0x5e
jne 0x18061095
push 2
jmp 0x18061017
cmp ecx, 0x24
jne 0x180610a1
push 3
jmp 0x18061017
cmp ecx, 0x2a
je 0x180610f3
cmp ecx, 0x2b
je 0x180610f3
cmp ecx, 0x3f
je 0x180610f3
cmp ecx, 0x7b
je 0x180610f3
cmp ecx, 0x7d
jne 0x180610c2
test dword [edi], edx
jne 0x180610cb
push 6
jmp 0x180610fd
cmp ecx, 0x5d
jne 0x180610cb
test dword [edi], edx
je 0x18061068
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.18061d47
mov bl, 1
mov ecx, esi
call fcn.18060f72
test bl, bl
je 0x180610ec
mov ecx, esi
call fcn.18061c65
mov al, 1
jmp 0x18060fa2
push 0xa
jmp 0x180610fd
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806066f
int3