joyce8/EMBER2024-capa huggingface dataset:
Function at 0x400094c8
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
mov eax, 0x40070651
call fcn.4006f3a0
sub esp, 0x10
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0x4007d310
mov dword [ebx + 4], eax
mov word [ebx + 8], ax
mov byte [ebx + 0xa], al
call fcn.400069d1
and dword [ebp - 4], 0
lea edi, [ebx + 0x10]
call fcn.40001ce1
push eax
mov ecx, edi
call fcn.40006f05
mov byte [ebp - 4], 1
call fcn.40001ce1
push eax
lea ecx, [ebx + 0x14]
call fcn.40006f05
mov byte [ebp - 4], 2
xor ecx, ecx
mov al, byte [ebp + 0x10]
mov byte [ebx + 0x18], al
mov al, byte [ebp + 8]
mov byte [ebx + 0x28], al
lea eax, [ebx + 0x30]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
push eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push ecx
mov ecx, esp
push dword [ebp + 0xc]
call fcn.400069d1
lea ecx, [ebp + 0xc]
call fcn.40009a85
mov esi, eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.400098be
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x10]
call fcn.40009deb
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.400088ff
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.40004636
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov byte [ebx + 0xa], al
test al, al
je 0x400095df
push 0x80
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [ebx + 0x18], 0
mov dword [ebx + 0x1c], eax
je 0x40009618
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push 0
push 0x8000000
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 7
push 0x40000000
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 4], eax
cmp byte [ebx + 0xa], 0
je 0x40009643
push str.Start
lea ecx, [ebx + 0xc]
call fcn.40006fbb
test eax, eax
je 0x40009643
push ecx
mov ecx, esp
push str._General__r_nLastOperationFAILED_r_n
call fcn.40009ca7
mov ecx, ebx
call fcn.40009826
call esi
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x400096a9
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x400096c3
cmp eax, 0xffffffff
je 0x400096c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 4], 0
cmp byte [esi + 8], 0
jne 0x400096f3
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esi + 9], 0
mov dword [esi + 0x20], eax
jne 0x400096f3
push 0x80
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret

Function at 0x400096f5
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
mov eax, 0x40070242
call fcn.4006f3a0
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x10]
call fcn.40006f05
and dword [ebp - 4], 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.40009d90
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x14]
call fcn.40006f05
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 1
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebx + 0x40]
sub ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x44]
sbb eax, dword [ebx + 0x3c]
push 0
push 0x3e8
push eax
push ecx
call fcn.4005af50
mov ecx, eax
call fcn.4006f98f
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x30]
movsd qword [ebp - 0x1c], xmm0
call fcn.4006f98f
movsd xmm2, qword [ebp - 0x1c]
divsd xmm2, xmm0
mov esi, dword [ebp - 0x10]
push esi
comisd xmm2, xmmword [0x400865c8]
movapd xmm0, xmm2
addsd xmm0, qword [0x400865d8]
cvttsd2si ecx, xmm0
movapd xmm0, xmm2
subsd xmm0, qword [0x400865d8]
cvttsd2si eax, xmm0
cmova eax, ecx
push eax
lea eax, [ebp - 0x14]
push str._8d:__s
push eax
call fcn.4000a08c
mov edi, dword [ebp - 0x14]
add esp, 0x10
cmp byte [ebx + 0x28], 0
push ecx
mov ebx, esp
lea ecx, [edi - 0x10]
jne 0x400097d8
lea ecx, [esi - 0x10]
call fcn.40009f30
add eax, 0x10
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.40009826
mov byte [ebp + 0xb], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x24], eax
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [edi - 0x10]
call fcn.40004636
lea ecx, [esi - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40009826
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov eax, 0x40070668
call fcn.4006f3a0
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0x18], bl
je 0x4000984a
cmp dword [edi + 4], ebx
je 0x4000989f
cmp dword [edi + 4], 0xffffffff
je 0x4000989f
push dword [ebp + 8]
lea ecx, [edi + 0x14]
call fcn.40006a54
push ecx
lea ecx, [ebp + 8]
call fcn.40009d06
cmp byte [edi + 0x18], bl
je 0x4000988f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push esi
push ebx
push ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [eax - 0xc]
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp esi, dword [ebp - 0x10]
pop esi
sete bl
jmp 0x4000989f
cmp byte [edi + 0x28], bl
je 0x4000989d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov bl, 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.40004636
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x400098be
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x400706a2
call fcn.4006f3a0
sub esp, 0x254
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x260]
push 0x208
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x1c], ebx
call fcn.40054740
add esp, 0xc
lea eax, [ebp - 0x260]
mov edi, 0x104
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x10]
call fcn.400069d1
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.40006b63
push str..local
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.40006b9b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x400099b1
lea ecx, [ebp - 0x10]
call fcn.40009f0b
lea ecx, [ebp - 0x10]
call fcn.40009f0b
push str.users
lea ecx, [ebp - 0x10]
call fcn.40009edd
push str.default
lea ecx, [ebp - 0x18]
call fcn.400069d1
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.40009402
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.40009edd
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.40004636
push str.setting
lea ecx, [ebp - 0x10]
call fcn.40009edd
jmp 0x40009a35
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x58]
call fcn.4004d710
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.4004cf30
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.400088ff
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.4004dd60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.40009edd
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
push str.Sleipnir5
lea ecx, [ebp - 0x10]
call fcn.40009edd
push str.setting
lea ecx, [ebp - 0x10]
call fcn.40009edd
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.4004d9d0
push edi
lea ecx, [ebp - 0x10]
call fcn.40006b63
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.40006b9b
mov ecx, dword [ebp - 0x10]
call fcn.4004cd70
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.400073ec
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4000af36
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
mov eax, 0x40070668
call fcn.4006f3a0
sub esp, 0x1c
push ebx
mov eax, ecx
push edi
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x4000b010
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x4000b013
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4000b010
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push ebx
push 0x8000000
push 3
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push 7
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x4000b010
cmp edi, 0xffffffff
je 0x4000b010
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.40052401
mov esi, eax
pop ecx
test esi, esi
je 0x4000afd3
push dword [ebp - 0x14]
push ebx
push esi
call fcn.40054740
add esp, 0xc
jmp 0x4000afd5
mov esi, ebx
test esi, esi
je 0x4000b008
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4000b001
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
jne 0x4000b001
mov eax, dword [ebp - 0x1c]
mov bl, 1
mov dword [eax], esi
jmp 0x4000b008
push esi
call fcn.400547d0
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4000baf6
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x40070668
call fcn.4006f3a0
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 4]
mov word [eax], cx
lea eax, [ebp + 0x10]
mov edi, dword [esi + 4]
push eax
push ebx
push dword [ebp + 0xc]
push 0x100000
push edi
call fcn.40054f22
add esp, 0x14
cmp dword [esi], ebx
je 0x4000bb72
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.40006970
mov edi, 0x4007dcb8
mov dword [ebp - 4], ebx
push edi
call fcn.40054030
pop ecx
push eax
push edi
lea ecx, [ebp + 8]
call fcn.40009f8a
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4000be25
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4007027e
call fcn.4006f3a0
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x228]
push edi
xor ebx, ebx
mov esi, ecx
push eax
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x14]
call fcn.400069d1
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.40009f0b
push 0x4007e0f0
lea ecx, [ebp - 0x14]
call fcn.40009edd
push dword [0x40097664]
lea ecx, [ebp - 0x10]
call fcn.400069d1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.40009f0b
push edi
lea ecx, [ebp - 0x10]
call fcn.40006b63
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.40006b9b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.40006970
push dword [eax]
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.40004636
push 0x4007e114
push dword [0x40097664]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
call fcn.40056c18
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x4000bf09
mov eax, dword [0x40097698]
push dword [ebp - 0x18]
push dword [eax - 0xc]
push 1
push eax
call fcn.400573e7
push dword [ebp - 0x18]
call fcn.4005492d
add esp, 0x14
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.400073ec
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4000bf42
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x40070958
call fcn.4006f3a0
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x4000bf61
xor al, al
jmp 0x4000c0a7
xor eax, eax
cmp word [edi], ax
setne al
test al, al
je 0x4000bf5a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4000bf5a
sub esp, 0x18
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xd]
mov eax, esp
or dword [ebp - 4], 0xffffffff
mov dword [eax], 0x4007e920
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0x10], eax
call fcn.4004df20
cmp byte [ebp - 0xd], 0
jne 0x4000bf5a
push 4
call fcn.400549a4
mov esi, eax
pop ecx
test esi, esi
je 0x4000bfbf
call fcn.40001ce1
push eax
mov ecx, esi
call fcn.40006f05
jmp 0x4000bfc1
xor esi, esi
mov eax, dword [0x40097658]
cmp dword [eax - 0xc], 0
je 0x4000c022
push 0x40097658
mov edx, str.__D__
lea ecx, [ebp - 0x18]
call fcn.40006aaf
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov edx, eax
mov dword [esp], 0x4007e11c
call fcn.40009e4c
pop ecx
mov byte [ebp - 4], 2
mov ecx, esi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.4000e154
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.40004636
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.40004636
test ebx, ebx
je 0x4000c03a
push ebx
mov ecx, esi
call fcn.4000d55a
push 0x4007e130
mov ecx, esi
call fcn.4000d55a
push 0x38
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0x3c
push 0
push eax
call fcn.40054740
add esp, 0xc
mov dword [ebp - 0x54], 0x2000140
mov dword [ebp - 0x4c], 0x4007e134
mov dword [ebp - 0x48], edi
mov eax, dword [esi]
and dword [ebp - 0x40], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x3c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.40004636
push esi
call fcn.40053016
mov dword [esp], 0x7530
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4000ce06
Capabilities:
Terminate process

Disassembly:
push 0x34
push 0x40089c50
call fcn.4006f3c0
mov eax, edx
mov dword [ebp - 0x2c], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
mov ecx, eax
call fcn.4000cff5
push 4
call fcn.400549a4
pop ecx
test eax, eax
je 0x4000ce42
mov ecx, eax
call fcn.400069bd
mov esi, eax
jmp 0x4000ce44
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
push 4
call fcn.400549a4
pop ecx
test eax, eax
je 0x4000ce61
mov ecx, eax
call fcn.400069bd
mov edi, eax
jmp 0x4000ce63
xor edi, edi
push edi
push esi
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0xb8]
call fcn.4000d1bc
pop ecx
pop ecx
test al, al
je 0x4000ce84
xor ebx, ebx
inc ebx
mov byte [ebp - 0x1d], bl
jmp 0x4000cea3
push edi
push esi
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0xb4]
call fcn.4000d4be
pop ecx
pop ecx
mov byte [ebp - 0x1d], al
xor ebx, ebx
inc ebx
test al, al
je 0x4000cec2
push str.urlmon.dll
mov ecx, edi
call fcn.4000d585
test eax, eax
jne 0x4000cebb
mov byte [0x40097310], bl
jmp 0x4000ced6
mov al, byte [ebp - 0x1d]
test al, al
jne 0x4000ced6
test esi, esi
je 0x4000cece
push ebx
mov ecx, esi
call fcn.400082ed
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
test edi, edi
je 0x4000cee2
push ebx
mov ecx, edi
call fcn.400082ed
cmp byte [0x40097310], 0
jne 0x4000cf70
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 4]
mov edi, dword [eax + 0xb8]
cmp dword [0x400972c8], edi
je 0x4000cf27
mov edx, esi
call fcn.4000c8b8
mov dword [0x400972c8], edi
test esi, esi
je 0x4000cf1c
mov ecx, esi
push ebx
call fcn.400082ed
or dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x4000cfef
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x44]
call fcn.4000ac71
mov ecx, dword [0x400972d8]
add ecx, 3
mov eax, dword [0x400972dc]
adc eax, 0
cmp dword [ebp - 0x40], eax
jl 0x4000cf6a
jg 0x4000cf55
cmp dword [ebp - 0x44], ecx
jb 0x4000cf6a
lea esi, [ebp - 0x44]
mov edi, 0x400972d8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4000cf1c
jmp 0x4000cf16
mov byte [0x40097310], bl
cmp byte [0x40097a18], 0
je 0x4000cf81
mov byte [0x40097310], bl
jmp 0x4000cf10
mov byte [0x40097a18], bl
mov edx, esi
mov ecx, dword [ebp - 0x30]
call fcn.4000c8b8
test esi, esi
je 0x4000cf9d
push ebx
mov ecx, esi
call fcn.400082ed
and dword [ebp - 0x24], 0
xor edx, edx
mov ecx, dword [ebp + 8]
call fcn.4000bf42
test al, al
je 0x4000cfe9
mov byte [0x40097310], bl
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4000cf1c
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.4006f3fb
ret
Function at 0x4000cff5
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x40070ba7
call fcn.4006f3a0
mov eax, 0x11d4
call fcn.4006ce90
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x240]
mov esi, ecx
push 0
push eax
call fcn.40054740
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, 0xfa0
mov edi, eax
push ebx
lea eax, [ebp - 0x11e0]
mov dword [ebp - 0x1c], edi
push 0
push eax
call fcn.40054740
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push ebx
lea eax, [ebp - 0x11e0]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 0x14]
mov ecx, 0x3e8
shr eax, 2
cmp eax, ecx
cmova eax, ecx
xor ebx, ebx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4000d15e
push 0x104
lea eax, [ebp - 0x240]
push eax
push dword [ebp + ebx*4 - 0x11e0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xc
lea eax, [ebp - 0x34]
push eax
push dword [ebp + ebx*4 - 0x11e0]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
add eax, dword [ebp - 0x30]
push 0xc
mov dword [ebp - 0x28], eax
call fcn.400549a4
mov edi, eax
pop ecx
mov dword [ebp - 0x38], edi
and dword [ebp - 4], 0
test edi, edi
je 0x4000d0f8
push dword [ebp - 0x20]
mov ecx, edi
call fcn.400069d1
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
jmp 0x4000d0fa
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4000d151
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10]
cmp ecx, eax
jae 0x4000d137
cmp dword [esi], ecx
ja 0x4000d137
mov edi, ecx
sub edi, dword [esi]
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x4000d127
push ecx
mov ecx, esi
call fcn.4000e0dc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4000d14d
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x4000d14d
cmp eax, dword [esi + 8]
jne 0x4000d144
push ecx
mov ecx, esi
call fcn.4000e0dc
mov eax, dword [esi + 4]
test eax, eax
je 0x4000d14d
mov dword [eax], edi
add dword [esi + 4], 4
mov edi, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x4000d082
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40011318
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x400114b8
mov edx, 0x10000000
cmp eax, 0x7c
je 0x400114b8
cmp eax, 0x29
jne 0x40011353
cmp dword [esi + 0x10], 0
jne 0x400114b8
test dword [esi + 0x50], edx
je 0x400114be
cmp eax, 0x2e
jne 0x4001136e
push 5
lea ecx, [esi + 0x24]
call fcn.400115b9
mov ecx, esi
call fcn.400112ed
jmp 0x400114a0
cmp eax, 0x5c
jne 0x400113cb
mov ecx, esi
call fcn.400112ed
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x400113a1
cmp word [esi + 0x48], 0x62
jne 0x400113a1
push 4
lea ecx, [esi + 0x24]
call fcn.400115b9
mov ecx, esi
call fcn.400112ed
jmp 0x400114a7
test eax, eax
je 0x400113bf
cmp word [esi + 0x48], 0x42
jne 0x400113bf
push 4
lea ecx, [esi + 0x24]
call fcn.400115b9
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40011395
mov ecx, esi
call fcn.40011ec9
jmp 0x400114a0
cmp eax, 0x5b
jne 0x4001142b
mov ecx, esi
call fcn.400112ed
lea ecx, [esi + 0x24]
call fcn.40012eb7
cmp dword [esi + 0x4c], 0x5e
jne 0x400113f3
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.400112ed
test dword [esi + 0x50], 0x20000000
je 0x40011413
cmp dword [esi + 0x4c], 0x5d
jne 0x40011413
push 0x5d
lea ecx, [esi + 0x24]
call fcn.40012f01
mov ecx, esi
call fcn.400112ed
mov ecx, esi
call fcn.40012c95
cmp dword [esi + 0x4c], 0x5d
je 0x40011362
push 4
jmp 0x400114c0
cmp eax, 0x28
jne 0x40011448
mov ecx, esi
call fcn.400112ed
mov ecx, esi
call fcn.40011fa5
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x40011495
jmp 0x400114be
cmp eax, 0x5e
jne 0x40011454
push 2
jmp 0x4001138d
cmp eax, 0x24
jne 0x40011460
push 3
jmp 0x4001138d
cmp eax, 0x2a
je 0x400114b4
cmp eax, 0x2b
je 0x400114b4
cmp eax, 0x3f
je 0x400114b4
cmp eax, 0x7b
je 0x400114b4
cmp eax, 0x7d
jne 0x4001147e
test dword [esi + 0x50], edx
je 0x400114b0
cmp eax, 0x5d
jne 0x40011488
test dword [esi + 0x50], edx
je 0x40011424
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.40012119
mov ecx, esi
call fcn.400112ed
test bl, bl
je 0x400114a7
mov ecx, esi
call fcn.40012055
mov cl, 1
mov bl, cl
jmp 0x40011321
push 6
jmp 0x400114c0
push 0xa
jmp 0x400114c0
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.400523db
int3