Function at 0x557640
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 8], esi
push edi
test eax, eax
je 0x557976
test esi, esi
je 0x557976
cmp eax, esi
je 0x557976
mov bl, byte [eax]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], esi
lea edx, [edi + 1]
test bl, bl
je 0x557966
mov dword [ebp - 0x24], edx
nop dword [eax + eax]
inc eax
mov dword [ebp - 4], 0
cmp edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
cmove edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp bl, 0x3a
jne 0x557764
test byte [ebp + 0x10], 0x80
je 0x55771b
test ecx, ecx
jne 0x55771b
test edx, edx
je 0x557715
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x18]
jb 0x557976
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
cmp ecx, eax
ja 0x557976
sub eax, ecx
inc eax
push eax
push ecx
call fcn.005b6bc4
push eax
call fcn.0040b270
add esp, 0xc
cmp edi, 4
jne 0x557715
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.005a86e0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
lea ecx, [edi + 1]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x557883
cmp bl, 0x5c
jne 0x557845
test ecx, ecx
jne 0x557743
test edx, 0x100
je 0x557883
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x557886
cmp dword [ebp - 0x14], 0
je 0x55775d
cmp edi, 7
jae 0x557886
mov bl, 0x2f
jmp 0x557886
cmp bl, 0x25
jne 0x557820
mov edx, dword [ebp + 0x10]
test dl, 4
je 0x55771e
mov cl, byte [eax]
test cl, cl
je 0x557963
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x557793
movzx eax, cl
sub ax, 0x30
jmp 0x5577b5
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x5577a3
movzx eax, cl
sub ax, 0x37
jmp 0x5577b5
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x557941
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x557941
mov eax, dword [ebp - 0x1c]
shl bl, 4
mov cl, byte [eax]
test cl, cl
je 0x557963
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x5577e8
movzx eax, cl
sub ax, 0x30
jmp 0x55780a
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x5577f8
movzx eax, cl
sub ax, 0x37
jmp 0x55780a
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x55793d
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x55793d
mov ecx, dword [ebp - 0x20]
add bl, al
jmp 0x55771e
cmp bl, 0x3f
je 0x55782e
cmp bl, 0x23
jne 0x55771b
mov edx, dword [ebp + 0x10]
test dl, 0x20
je 0x55771e
or edx, 2
mov dword [ebp + 0x10], edx
jmp 0x55771e
cmp bl, 0x2e
jne 0x557883
test edi, edi
je 0x557883
test dl, 8
jne 0x557883
push ecx
push edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 8]
call fcn.00557540
mov esi, dword [ebp - 8]
add esp, 0x14
mov edi, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x55792c
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
movzx eax, bl
mov dword [ebp - 0x10], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x55789b.33
movzx eax, byte [eax + 0x557988]
jmp dword [eax*4 + 0x557980]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x55791b
test dl, 2
jne 0x55791b
test dl, 0x10
je 0x5578b8
cmp bl, 0x20
jne 0x55791b
test dl, 8
je 0x5578c2
cmp bl, 0x2e
je 0x55791b
test dl, 0x40
jne 0x5578cc
cmp bl, 0x25
je 0x55791b
mov edx, dword [ebp + 0xc]
lea eax, [edx - 3]
cmp edi, eax
jb 0x5578e0
xor ecx, ecx
add edi, 2
mov dword [ebp - 4], ecx
jmp 0x557925
test ecx, ecx
je 0x557916
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x5578f3
mov byte [ecx], 0x30
inc ecx
mov ebx, dword [ebp - 0x18]
push 0x10
lea eax, [edx + ebx]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.005be70e
push eax
call fcn.0040b270
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x557925
test ecx, ecx
je 0x557925
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x10], edi
mov bl, byte [eax]
mov edx, dword [ebp - 4]
test bl, bl
je 0x557966
mov ecx, dword [ebp - 0x20]
jmp 0x557690
xor edx, edx
jmp 0x557966
xor edx, edx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x557952
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + 1]
xor eax, eax
pop edi
cmp ecx, ebx
pop esi
cmovbe eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
test edx, edx
je 0x557943
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jae 0x557946
mov byte [esi], 0
jmp 0x557946
push 0x80004005
call fcn.0040b250
test eax, 0xa2005578
js 5601756
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add ah, cl
int3
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add byte [eax], al
int3