Function at 0x42ddf0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 4], edi
cmp word [edi], 0x28
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jne 0x42de6a
movzx ecx, word [edi + 2]
cmp ecx, 0x2a
jne 0x42de46
mov eax, dword [ebx + 0x1c]
add edi, 4
mov dword [ebp - 4], edi
cmp edi, eax
jae 0x42de6a
cmp word [edi], 0x29
je 0x42de6a
add edi, 2
mov dword [ebp - 4], edi
cmp edi, eax
jb 0x42de34
jmp 0x42de6a
cmp ecx, 0x3f
je 0x42ded5
mov edx, dword [ebp + 0x20]
inc eax
cmp dword [ebp + 0x10], 0
mov dword [edx], eax
jne 0x42de64
cmp eax, dword [ebp + 0x14]
je 0x42e235
add edi, 2
mov dword [ebp - 4], edi
cmp edi, dword [ebx + 0x1c]
jae 0x42e22d
movzx eax, word [edi]
mov edx, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
cmp eax, 0x5c
jne 0x42e00c
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
je 0x42e22d
cmp eax, 0x51
jne 0x42e219
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
je 0x42e22d
cmp eax, 0x5c
jne 0x42dea3
cmp word [edi], 0
je 0x42e22d
add edi, 2
mov dword [ebp - 4], edi
cmp word [edi], 0x45
jne 0x42dea3
mov ebx, dword [ebp + 0xc]
jmp 0x42de64
movzx ecx, word [edi + 4]
cmp ecx, 0x7c
jne 0x42deed
add edi, 6
mov dword [ebp - 0xc], 1
jmp 0x42de67
cmp ecx, 0x23
jne 0x42df2b
add edi, 6
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
je 0x42e22d
cmp ax, 0x29
je 0x42e22d
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
jne 0x42df04
mov edx, dword [ebp + 8]
mov dword [edx], edi
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
add edi, 4
mov dword [ebp - 4], edi
cmp ecx, 0x28
jne 0x42df78
cmp word [edi + 2], 0x3f
je 0x42de6a
movzx eax, word [edi]
test ax, ax
je 0x42de6a
lea ecx, [ecx]
cmp ax, 0x29
je 0x42df69
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
jne 0x42df50
jmp 0x42de6a
cmp word [edi], 0
je 0x42de6a
jmp 0x42de64
cmp word [edi], 0x50
jne 0x42df84
add edi, 2
mov dword [ebp - 4], edi
movzx ecx, word [edi]
cmp ecx, 0x3c
jne 0x42df9a
movzx edx, word [edi + 2]
cmp edx, 0x21
je 0x42df9a
cmp edx, 0x3d
jne 0x42dfa3
cmp ecx, 0x27
jne 0x42de6a
mov edx, dword [ebp + 0x10]
lea esi, [eax + 1]
mov eax, dword [ebp + 0x20]
mov dword [eax], esi
test edx, edx
jne 0x42dfb7
cmp esi, dword [ebp + 0x14]
je 0x42e003
movzx ecx, word [edi]
add edi, 2
mov dword [ebp - 4], edi
cmp ecx, 0x3c
jne 0x42dfca
mov ecx, 0x3e
mov eax, edi
cmp word [edi], cx
je 0x42dfdc
add edi, 2
mov dword [ebp - 4], edi
cmp word [edi], cx
jne 0x42dfd1
test edx, edx
je 0x42de6a
mov ecx, edi
sub ecx, eax
sar ecx, 1
cmp dword [ebp + 0x14], ecx
jne 0x42de6a
mov ecx, dword [ebp + 0x14]
call fcn.0043a400
test eax, eax
jne 0x42de6a
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x5b
jne 0x42e123
mov dword [ebp - 0x10], 0
lea esp, [esp]
movzx eax, word [edi + 2]
cmp eax, 0x5c
jne 0x42e074
cmp word [edi + 4], 0x45
lea ecx, [edi + 4]
jne 0x42e03a
mov edi, ecx
mov dword [ebp - 4], edi
jmp 0x42e020
mov ebx, 3
mov esi, 0x4508ec
movzx eax, word [ecx]
movzx edx, byte [esi]
dec ebx
add ecx, 2
inc esi
cmp dx, ax
jne 0x42e060
test ebx, ebx
jne 0x42e044
add edi, 8
mov dword [ebp - 4], edi
jmp 0x42e020
sbb eax, eax
neg eax
lea eax, [eax + eax - 1]
test eax, eax
jne 0x42e08e
add edi, 8
mov dword [ebp - 4], edi
jmp 0x42e020
cmp dword [ebp - 0x10], 0
jne 0x42e08e
cmp eax, 0x5e
jne 0x42e08e
add edi, 2
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], edi
jmp 0x42e020
cmp word [edi + 2], 0x5d
jne 0x42e0a4
mov eax, dword [ebp + 0xc]
test dword [eax + 0x50], 0x2000000
jne 0x42e0a4
add edi, 2
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
cmp eax, 0x5d
je 0x42e219
test ax, ax
je 0x42e232
cmp ax, 0x5c
jne 0x42e10d
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
je 0x42e22d
cmp eax, 0x51
jne 0x42e10d
lea esp, [esp]
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
je 0x42e22d
cmp eax, 0x5c
jne 0x42e0e0
cmp word [edi], 0
je 0x42e22d
add edi, 2
mov dword [ebp - 4], edi
cmp word [edi], 0x45
jne 0x42e0e0
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
cmp eax, 0x5d
jne 0x42e0b6
mov ebx, dword [ebp + 0xc]
jmp 0x42de64
test ecx, ecx
je 0x42e1c3
cmp eax, 0x23
jne 0x42e1c3
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
je 0x42e22d
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x42e182
mov edx, dword [ebx + 0x1c]
cmp edi, edx
jae 0x42e1a6
push ecx
lea esi, [ebx + 0x6c]
mov ecx, edi
call fcn.0043a4a0
add esp, 4
test eax, eax
je 0x42e1a6
mov ecx, dword [ebx + 0x6c]
lea edi, [edi + ecx*2 - 2]
mov dword [ebp - 4], edi
cmp word [edi], 0
je 0x42e22d
mov ebx, dword [ebp + 0xc]
jmp 0x42de64
mov ecx, dword [ebx + 0x6c]
mov esi, dword [ebx + 0x1c]
lea edx, [ecx + ecx]
sub esi, edx
cmp edi, esi
ja 0x42e1a6
cmp ax, word [ebx + 0x70]
jne 0x42e1a6
cmp ecx, 1
je 0x42e166
mov ax, word [edi + 2]
cmp ax, word [ebx + 0x72]
je 0x42e166
add edi, 2
mov dword [ebp - 4], edi
movzx eax, word [edi]
test ax, ax
jne 0x42e146
mov edx, dword [ebp + 8]
mov dword [edx], edi
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x28
jne 0x42e1fb
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push edx
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0042ddf0
add esp, 0x1c
test eax, eax
jg 0x42e235
mov edi, dword [ebp - 4]
cmp word [edi], 0
je 0x42e22d
mov ebx, dword [ebp + 0xc]
jmp 0x42de64
cmp eax, 0x29
je 0x42e221
cmp eax, 0x7c
jne 0x42e219
cmp dword [ebp - 0xc], 0
je 0x42e219
mov eax, dword [edx]
cmp eax, esi
jle 0x42e214
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ebx, dword [ebp + 0xc]
jmp 0x42de64
cmp dword [ebp - 0xc], 0
je 0x42e22d
cmp dword [edx], esi
jge 0x42e22d
mov dword [edx], esi
mov edx, dword [ebp + 8]
mov dword [edx], edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret