Function at 0x40de60
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, eax
mov dword [esp + 0xc], ecx
cmp byte [ecx], 0x28
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
jne 0x40dfed
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x40deae
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x40dfed
cmp dl, 0x3f
je 0x40decc
inc eax
mov dword [esi], eax
test edi, edi
jne 0x40dec2
cmp eax, ebp
je 0x40e248
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x40dfed
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x40dee8
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x40dfed
cmp dl, 0x23
jne 0x40df24
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x40e23f
mov edi, edi
cmp al, 0x29
je 0x40e23f
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x40df00
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
add ecx, 2
mov dword [esp + 0x10], ecx
cmp dl, 0x28
jne 0x40df6b
cmp byte [ecx + 1], 0x3f
je 0x40dfed
mov al, byte [ecx]
test al, al
je 0x40dfed
cmp al, 0x29
je 0x40df58
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x40df44
jmp 0x40dfed
cmp byte [ecx], 0
je 0x40dfed
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x40dfed
cmp byte [ecx], 0x50
jne 0x40df75
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x40df89
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x40df89
cmp bl, 0x3d
jne 0x40df8e
cmp dl, 0x27
jne 0x40dfed
inc eax
mov dword [esi], eax
test edi, edi
jne 0x40df9d
cmp eax, ebp
je 0x40e248
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x40dfaf
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x40dfc4
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x40dfb8
test edi, edi
je 0x40dfed
mov eax, ecx
sub eax, edx
cmp ebp, eax
jne 0x40dfed
push ebp
push edx
push edi
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40dfe9
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
cmp ecx, dword [edi + 0x1c]
jae 0x40e23f
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov al, byte [ecx]
cmp al, 0x5c
jne 0x40e04a
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x40e23f
cmp al, 0x51
jne 0x40e21b
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x40e23f
cmp al, 0x5c
jne 0x40e020
test al, al
je 0x40e23f
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x40e020
jmp 0x40e21b
cmp al, 0x5b
jne 0x40e115
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x40e08a
add ecx, 2
cmp byte [ecx], 0x45
jne 0x40e069
mov dword [esp + 0x10], ecx
jmp 0x40e054
push 3
push 0x4acf48
push ecx
call sub.MSVCRT.dll_strncmp
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x40e09e
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x40e054
test esi, esi
jne 0x40e09e
cmp al, 0x5e
jne 0x40e09e
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x40e054
cmp byte [ecx + 1], 0x5d
jne 0x40e0ae
test dword [edi + 0x4c], 0x2000000
jne 0x40e0ae
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x40e21b
lea ecx, [ecx]
test al, al
je 0x40e245
cmp al, 0x5c
jne 0x40e105
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x40e23f
cmp al, 0x51
jne 0x40e105
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x40e23f
cmp al, 0x5c
jne 0x40e0e0
test al, al
je 0x40e23f
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x40e0e0
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x40e0c0
jmp 0x40e21b
test ebp, ebp
je 0x40e1cc
cmp al, 0x23
jne 0x40e1cc
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x40e23f
mov edx, dword [edi + 0x60]
test edx, edx
je 0x40e173
mov eax, dword [edi + 0x1c]
cmp ecx, eax
jae 0x40e191
push ebx
lea esi, [edi + 0x64]
push esi
push eax
push edx
push ecx
call fcn.004236b0
mov ecx, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x40e191
mov eax, dword [edi + 0x64]
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
je 0x40e23f
jmp 0x40e21b
mov edx, dword [edi + 0x64]
mov esi, dword [edi + 0x1c]
sub esi, edx
cmp ecx, esi
ja 0x40e191
cmp al, byte [edi + 0x68]
jne 0x40e191
cmp edx, 1
je 0x40e15a
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 0x69]
je 0x40e15a
inc ecx
mov dword [esp + 0x10], ecx
test ebx, ebx
je 0x40e1b1
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x40e1b1
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
and dl, 0xc0
cmp dl, 0x80
je 0x40e1a2
mov al, byte [ecx]
test al, al
jne 0x40e134
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
cmp al, 0x28
jne 0x40e1fa
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push esi
push ebx
push ebp
push ecx
push edx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0040de60
add esp, 0x1c
test eax, eax
jg 0x40e248
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x40e23f
jmp 0x40e21b
cmp al, 0x29
je 0x40e22e
cmp al, 0x7c
jne 0x40e21b
cmp dword [esp + 0x14], 0
je 0x40e21b
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
jle 0x40e215
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
mov dword [esi], edx
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x1c]
jae 0x40e23f
mov esi, dword [esp + 0x3c]
jmp 0x40e002
cmp dword [esp + 0x14], 0
je 0x40e23f
mov eax, dword [esp + 0x18]
cmp dword [esi], eax
jge 0x40e23f
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret