Function at 0x4ba2b0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
mov eax, ecx
push ebp
mov ebp, edx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x34]
push esi
mov esi, dword [eax]
mov dword [esp + 0xc], esi
mov eax, dword [edx]
mov ecx, eax
push edi
cmp word [esi], 0x28
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0
jne 0x4ba4a4
movzx eax, word [esi + 2]
cmp eax, 0x2a
jne 0x4ba308
add esi, 4
mov dword [esp + 0x10], esi
jmp 0x4ba4a4
cmp eax, 0x3f
je 0x4ba32a
mov eax, ecx
inc eax
mov dword [edx], eax
test ebx, ebx
jne 0x4ba31e
cmp eax, edi
je 0x4ba781
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x4ba4a4
movzx eax, word [esi + 4]
lea ecx, [esi + 4]
cmp eax, 0x7c
jne 0x4ba34a
add esi, 6
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], esi
jmp 0x4ba4a0
cmp eax, 0x23
jne 0x4ba394
lea ecx, [esi + 6]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4ba778
mov edx, eax
cmp dx, 0x29
je 0x4ba778
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x4ba366
mov eax, dword [esp + 0x24]
pop edi
mov dword [eax], esi
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov esi, ecx
mov dword [esp + 0x10], esi
cmp eax, 0x28
jne 0x4ba3e2
cmp word [esi + 2], 0x3f
je 0x4ba4a0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x4ba49c
cmp dx, 0x29
je 0x4ba3d6
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x4ba3b8
jmp 0x4ba49c
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x4ba49c
cmp word [esi], 0x50
jne 0x4ba3ef
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x3c
jne 0x4ba40b
movzx eax, word [esi + 2]
cmp eax, 0x21
je 0x4ba4a0
cmp eax, 0x3d
jne 0x4ba414
cmp ecx, 0x27
jne 0x4ba4a0
mov ebp, dword [esp + 0x1c]
inc ebp
mov dword [edx], ebp
test ebx, ebx
jne 0x4ba423
cmp ebp, edi
je 0x4ba486
add esi, 2
mov edx, ecx
cmp edx, 0x3c
mov dword [esp + 0x10], esi
mov eax, 0x3e
mov edi, esi
cmove edx, eax
mov ecx, edi
movzx eax, word [esi]
cmp eax, edx
je 0x4ba452
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
cmp eax, edx
jne 0x4ba442
test ebx, ebx
je 0x4ba490
mov eax, dword [esp + 0x30]
sub ecx, edi
sar ecx, 1
cmp eax, ecx
jne 0x4ba496
mov edx, eax
test eax, eax
je 0x4ba486
nop dword [eax + eax]
movzx ecx, word [ebx]
lea ebx, [ebx + 2]
movzx eax, word [edi]
lea edi, [edi + 2]
dec edx
cmp cx, ax
jne 0x4ba490
test edx, edx
jne 0x4ba470
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
mov edi, dword [esp + 0x30]
jmp 0x4ba498
mov edi, eax
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
cmp esi, dword [ebp + 0x1c]
jae 0x4ba778
mov ebx, dword [esp + 0x34]
movzx eax, word [esi]
cmp eax, 0x5c
jne 0x4ba501
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4ba778
cmp eax, 0x51
jne 0x4ba602
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x4ba778
cmp eax, 0x5c
jne 0x4ba4d5
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x4ba4d5
jmp 0x4ba602
cmp eax, 0x5b
jne 0x4ba623
xor ebp, ebp
nop dword [eax]
movzx eax, word [esi + 2]
cmp eax, 0x5c
jne 0x4ba554
cmp word [esi + 4], 0x45
lea edi, [esi + 4]
jne 0x4ba52b
mov esi, edi
mov dword [esp + 0x10], esi
jmp 0x4ba510
mov edx, 3
mov ebx, 0x4f1e78
movzx ecx, word [edi]
lea edi, [edi + 2]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec edx
cmp cx, ax
jne 0x4ba57e
test edx, edx
jne 0x4ba535
add esi, 8
mov dword [esp + 0x10], esi
jmp 0x4ba510
test ebp, ebp
jne 0x4ba569
cmp eax, 0x5e
jne 0x4ba569
add esi, 2
lea ebp, [eax - 0x5d]
mov dword [esp + 0x10], esi
jmp 0x4ba510
cmp eax, 0x5d
jne 0x4ba57e
mov eax, dword [esp + 0x18]
test dword [eax + 0x4c], 0x2000000
jne 0x4ba57e
add esi, 2
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x5d
je 0x4ba5fa
mov ecx, eax
mov edx, esi
test cx, cx
je 0x4ba77e
cmp cx, 0x5c
jne 0x4ba5e7
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4ba778
cmp eax, 0x51
jne 0x4ba5e7
nop dword [eax + eax]
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x4ba778
cmp eax, 0x5c
jne 0x4ba5c0
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x4ba5c0
add esi, 2
mov dword [esp + 0x10], esi
mov edx, esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x5d
jne 0x4ba591
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
add esi, 2
mov dword [esp + 0x10], esi
cmp esi, dword [ebp + 0x1c]
jae 0x4ba778
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
jmp 0x4ba4b1
test ebx, ebx
je 0x4ba70f
cmp eax, 0x23
jne 0x4ba70f
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4ba704
mov ecx, esi
mov ebx, esi
mov edi, eax
nop dword [eax]
mov edx, dword [ebp + 0x60]
test edx, edx
je 0x4ba682
mov eax, dword [ebp + 0x1c]
lea edi, [ebp + 0x64]
cmp ecx, eax
jae 0x4ba67a
push 1
push edi
push eax
mov ecx, esi
call fcn.004cb1e0
add esp, 0xc
test eax, eax
je 0x4ba67a
mov eax, 1
jmp 0x4ba67c
xor eax, eax
test eax, eax
jne 0x4ba6f4
jmp 0x4ba6b0
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0x18]
lea eax, [edx + edx]
mov ecx, dword [ecx + 0x1c]
sub ecx, eax
cmp ebx, ecx
ja 0x4ba6e9
mov ecx, dword [esp + 0x18]
cmp di, word [ecx + 0x68]
jne 0x4ba6ae
cmp edx, 1
je 0x4ba6ef
mov ax, word [esi + 2]
cmp ax, word [ecx + 0x6a]
je 0x4ba6ef
mov ebp, ecx
add esi, 2
mov edx, 0xfc00
mov dword [esp + 0x10], esi
mov ecx, esi
mov ax, word [esi]
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x4ba6d7
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov ebx, ecx
mov edi, eax
test ax, ax
jne 0x4ba650
jmp 0x4ba700
mov ebp, dword [esp + 0x18]
jmp 0x4ba6b0
lea edi, [ebp + 0x64]
mov ebp, ecx
mov eax, dword [edi]
lea esi, [esi + eax*2]
add esi, 0xfffffffe
mov dword [esp + 0x10], esi
mov ebx, dword [esp + 0x34]
cmp word [esi], 0
je 0x4ba778
jmp 0x4ba602
cmp eax, 0x28
jne 0x4ba73e
push edx
push 1
push ebx
push edi
push dword [esp + 0x3c]
mov edx, ebp
lea ecx, [esp + 0x24]
call fcn.004ba2b0
add esp, 0x14
test eax, eax
jg 0x4ba781
mov esi, dword [esp + 0x10]
cmp word [esi], 0
je 0x4ba778
jmp 0x4ba602
cmp eax, 0x29
je 0x4ba76b
cmp eax, 0x7c
jne 0x4ba602
cmp dword [esp + 0x20], 0
je 0x4ba602
cmp dword [edx], ecx
mov eax, dword [esp + 0x1c]
cmovg ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov dword [edx], eax
jmp 0x4ba602
cmp dword [esp + 0x20], 0
je 0x4ba778
cmp dword [edx], ecx
jge 0x4ba778
mov dword [edx], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], esi
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret