Function at 0x4b9190
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x30]
mov eax, ecx
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x20], eax
mov esi, dword [eax]
mov ecx, dword [ebx]
mov edx, ecx
mov dword [esp + 0xc], esi
push edi
cmp word [esi], 0x28
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
jne 0x4b938f
movzx eax, word [esi + 2]
cmp eax, 0x2a
jne 0x4b91e4
add esi, 4
mov dword [esp + 0x10], esi
jmp 0x4b938f
cmp eax, 0x3f
je 0x4b9209
cmp dword [esp + 0x2c], 0
lea eax, [ecx + 1]
mov dword [ebx], eax
jne 0x4b91fd
cmp eax, edi
je 0x4b963c
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x4b938f
movzx eax, word [esi + 4]
cmp eax, 0x7c
jne 0x4b9226
add esi, 6
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], esi
jmp 0x4b938f
cmp eax, 0x23
jne 0x4b9270
lea ecx, [esi + 6]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4b9633
mov edx, eax
cmp dx, 0x29
je 0x4b9633
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x4b9242
mov eax, dword [esp + 0x24]
pop edi
mov dword [eax], esi
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
add esi, 4
mov dword [esp + 0x10], esi
cmp eax, 0x28
jne 0x4b92c9
cmp word [esi + 2], 0x3f
je 0x4b938f
movzx ecx, word [esi]
test cx, cx
je 0x4b938f
mov edx, esi
cmp cx, 0x29
je 0x4b92b3
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
mov edx, esi
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x4b9295
jmp 0x4b938b
cmp word [esi], 0
je 0x4b938b
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
jmp 0x4b938b
cmp word [esi], 0x50
mov edx, esi
jne 0x4b92da
lea edx, [esi + 2]
mov esi, edx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x3c
jne 0x4b92f4
movzx ecx, word [esi + 2]
cmp ecx, 0x21
je 0x4b938b
cmp ecx, 0x3d
jne 0x4b92fd
cmp eax, 0x27
jne 0x4b938b
mov ebp, dword [esp + 0x20]
inc ebp
cmp dword [esp + 0x2c], 0
mov dword [ebx], ebp
jne 0x4b930f
cmp ebp, edi
je 0x4b9375
add edx, 2
mov edi, eax
mov esi, edx
cmp edi, 0x3c
mov eax, 0x3e
mov dword [esp + 0x10], esi
cmove edi, eax
mov ecx, edx
movzx eax, word [esi]
cmp eax, edi
je 0x4b9340
nop
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
cmp eax, edi
jne 0x4b9330
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
test eax, eax
je 0x4b9387
sub ecx, edx
sar ecx, 1
cmp edi, ecx
jne 0x4b9387
test edi, edi
jbe 0x4b9375
mov ebx, eax
sub ebx, edx
nop dword [eax]
movzx ecx, word [ebx + edx]
lea edx, [edx + 2]
movzx eax, word [edx - 2]
dec edi
cmp cx, ax
jne 0x4b937f
test edi, edi
jne 0x4b9360
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp esi, dword [ebp + 0x1c]
jae 0x4b9633
mov ecx, dword [esp + 0x34]
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x5c
jne 0x4b93ee
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4b9633
cmp eax, 0x51
jne 0x4b9555
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4b9633
cmp eax, 0x5c
jne 0x4b93c4
add esi, 2
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x4b93c4
jmp 0x4b9555
cmp eax, 0x5b
jne 0x4b94eb
xor ebp, ebp
nop dword [eax]
movzx eax, word [esi + 2]
cmp eax, 0x5c
jne 0x4b9444
cmp word [esi + 4], 0x45
lea edx, [esi + 4]
jne 0x4b941b
mov esi, edx
mov dword [esp + 0x10], esi
jmp 0x4b9400
mov edi, 3
mov ebx, 0x514958
movzx ecx, word [edx]
lea edx, [edx + 2]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec edi
cmp cx, ax
jne 0x4b9459
test edi, edi
jne 0x4b9425
add esi, 8
mov dword [esp + 0x10], esi
jmp 0x4b9400
test ebp, ebp
jne 0x4b9459
cmp eax, 0x5e
jne 0x4b9459
add esi, 2
lea ebp, [eax - 0x5d]
mov dword [esp + 0x10], esi
jmp 0x4b9400
cmp word [esi + 2], 0x5d
lea eax, [esi + 2]
mov ebp, dword [esp + 0x18]
jne 0x4b9471
test dword [ebp + 0x4c], 0x2000000
cmove esi, eax
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x5d
je 0x4b9551
mov ecx, eax
test cx, cx
je 0x4b9639
mov eax, esi
cmp cx, 0x5c
jne 0x4b94d8
add esi, 2
mov dword [esp + 0x10], esi
movzx ecx, word [esi]
test cx, cx
je 0x4b9633
mov eax, esi
cmp ecx, 0x51
jne 0x4b94d8
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4b9633
cmp eax, 0x5c
jne 0x4b94b1
add esi, 2
mov dword [esp + 0x10], esi
mov eax, esi
cmp word [esi], 0x45
jne 0x4b94b1
lea esi, [eax + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x5d
jne 0x4b9486
jmp 0x4b9551
test ecx, ecx
je 0x4b95ce
cmp eax, 0x23
jne 0x4b95ce
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4b9633
mov edi, esi
mov ecx, 0xfc00
mov edx, dword [ebp + 0x60]
mov ebx, eax
test edx, edx
je 0x4b9576
mov eax, dword [ebp + 0x1c]
cmp edi, eax
jae 0x4b959f
push 1
lea ebx, [ebp + 0x64]
mov ecx, esi
push ebx
push eax
call fcn.004ca380
add esp, 0xc
test eax, eax
je 0x4b959a
mov edx, dword [ebx]
lea esi, [edx - 1]
lea esi, [edi + esi*2]
mov dword [esp + 0x10], esi
cmp word [esi], 0
je 0x4b9633
mov ecx, dword [esp + 0x34]
add esi, 2
mov dword [esp + 0x10], esi
cmp esi, dword [ebp + 0x1c]
jae 0x4b9633
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
jmp 0x4b93a0
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x1c]
lea eax, [edx + edx]
sub ecx, eax
cmp edi, ecx
ja 0x4b959a
cmp bx, word [ebp + 0x68]
jne 0x4b959a
cmp edx, 1
je 0x4b953d
mov ax, word [esi + 2]
cmp ax, word [ebp + 0x6a]
je 0x4b953d
mov ecx, 0xfc00
add esi, 2
mov edx, 0xdc00
mov dword [esp + 0x10], esi
mov edi, esi
mov ax, word [esi]
and ax, cx
cmp ax, dx
jne 0x4b95c1
lea esi, [edi + 2]
mov dword [esp + 0x10], esi
mov edi, esi
movzx eax, word [esi]
test ax, ax
je 0x4b9633
jmp 0x4b9516
cmp eax, 0x28
jne 0x4b95f7
push ebx
push 1
push ecx
push edi
push dword [esp + 0x3c]
mov edx, ebp
lea ecx, [esp + 0x24]
call fcn.004b9190
add esp, 0x14
test eax, eax
jg 0x4b963c
mov esi, dword [esp + 0x10]
jmp 0x4b9547
cmp eax, 0x29
je 0x4b9626
cmp eax, 0x7c
jne 0x4b9555
cmp dword [esp + 0x1c], 0
je 0x4b9555
mov eax, dword [ebx]
cmp eax, edx
mov edi, dword [esp + 0x20]
cmovle eax, edx
mov dword [ebx], edi
mov dword [esp + 0x14], eax
jmp 0x4b9555
cmp dword [esp + 0x1c], 0
je 0x4b9633
cmp dword [ebx], edx
jge 0x4b9633
mov dword [ebx], edx
mov eax, dword [esp + 0x24]
mov dword [eax], esi
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret