Function at 0x4b2243
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [eax]
mov eax, dword [ebx]
mov ecx, eax
mov dword [ebp - 4], esi
cmp byte [esi], 0x28
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jne 0x4b23a1
mov cl, byte [esi + 1]
cmp cl, 0x2a
jne 0x4b25e5
add esi, 2
mov dword [ebp - 4], esi
jmp 0x4b23a1
mov cl, byte [esi + 2]
cmp cl, 0x7c
jne 0x4b22a5
add esi, 3
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 1
jmp 0x4b23a1
cmp cl, 0x23
jne 0x4b22db
add esi, 3
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
je 0x4b25d6
cmp al, 0x29
je 0x4b25d6
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
jne 0x4b22ba
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 2
mov dword [ebp - 4], esi
cmp cl, 0x28
jne 0x4b231f
cmp byte [esi + 1], 0x3f
je 0x4b23a1
mov al, byte [esi]
test al, al
je 0x4b23a1
cmp al, 0x29
je 0x4b230d
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
jne 0x4b22fa
jmp 0x4b23a1
cmp byte [esi], 0
je 0x4b23a1
inc esi
mov dword [ebp - 4], esi
jmp 0x4b23a1
cmp byte [esi], 0x50
jne 0x4b2328
inc esi
mov dword [ebp - 4], esi
mov cl, byte [esi]
cmp cl, 0x3c
jne 0x4b233c
mov dl, byte [esi + 1]
cmp dl, 0x21
je 0x4b233c
cmp dl, 0x3d
jne 0x4b2341
cmp cl, 0x27
jne 0x4b23a1
inc eax
mov dword [ebx], eax
test edi, edi
jne 0x4b2351
cmp eax, dword [ebp + 0x14]
je 0x4b2602
movzx eax, byte [esi]
inc esi
mov dword [ebp - 4], esi
cmp eax, 0x3c
jne 0x4b2362
mov eax, 0x3e
movzx edx, byte [esi]
mov ecx, esi
cmp edx, eax
je 0x4b2376
inc esi
mov dword [ebp - 4], esi
movzx edx, byte [esi]
cmp edx, eax
jne 0x4b236b
test edi, edi
je 0x4b23a1
mov eax, esi
sub eax, ecx
cmp dword [ebp + 0x14], eax
jne 0x4b23a1
mov edx, dword [ebp + 0x14]
push edx
push ecx
push edi
call fcn.00496651
add esp, 0xc
test eax, eax
jne 0x4b239e
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
cmp esi, dword [edi + 0x1c]
jae 0x4b25d6
mov al, byte [esi]
mov ecx, dword [ebp - 8]
cmp al, 0x5c
jne 0x4b23fb
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
je 0x4b25d6
cmp al, 0x51
jne 0x4b25b9
lea esp, [esp]
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
je 0x4b25d6
cmp al, 0x5c
jne 0x4b23d3
test al, al
je 0x4b25d6
inc esi
mov dword [ebp - 4], esi
cmp byte [esi], 0x45
jne 0x4b23d3
jmp 0x4b25b9
cmp al, 0x5b
jne 0x4b24b9
xor ebx, ebx
mov al, byte [esi + 1]
cmp al, 0x5c
jne 0x4b2438
add esi, 2
cmp byte [esi], 0x45
jne 0x4b2419
mov dword [ebp - 4], esi
jmp 0x4b2405
push 3
push 0x49d8a4
push esi
call fcn.00496651
mov esi, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x4b244b
add esi, 4
mov dword [ebp - 4], esi
jmp 0x4b2405
test ebx, ebx
jne 0x4b244b
cmp al, 0x5e
jne 0x4b244b
inc esi
mov ebx, 1
mov dword [ebp - 4], esi
jmp 0x4b2405
cmp byte [esi + 1], 0x5d
jne 0x4b245b
test dword [edi + 0x44], 0x2000000
jne 0x4b245b
inc esi
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
cmp al, 0x5d
je 0x4b25b9
test al, al
je 0x4b25db
cmp al, 0x5c
jne 0x4b24aa
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
je 0x4b25d6
cmp al, 0x51
jne 0x4b24aa
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
je 0x4b25d6
cmp al, 0x5c
jne 0x4b2487
test al, al
je 0x4b25d6
inc esi
mov dword [ebp - 4], esi
cmp byte [esi], 0x45
jne 0x4b2487
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
cmp al, 0x5d
jne 0x4b2469
jmp 0x4b25b9
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4b2570
cmp al, 0x23
jne 0x4b2570
inc esi
mov dword [ebp - 4], esi
mov al, byte [esi]
test al, al
je 0x4b25d6
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x4b2517
mov eax, dword [edi + 0x1c]
cmp esi, eax
jae 0x4b2535
mov edx, dword [ebp + 0x1c]
push edx
lea edx, [edi + 0x5c]
push edx
push eax
push ecx
push esi
call fcn.004b1885
add esp, 0x14
test eax, eax
je 0x4b2535
mov eax, dword [edi + 0x5c]
lea esi, [esi + eax - 1]
mov dword [ebp - 4], esi
cmp byte [esi], 0
je 0x4b25d6
jmp 0x4b25b9
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x1c]
sub edx, ecx
cmp esi, edx
ja 0x4b2535
cmp al, byte [edi + 0x60]
jne 0x4b2535
cmp ecx, 1
je 0x4b24ff
mov al, byte [esi + 1]
cmp al, byte [edi + 0x61]
je 0x4b24ff
inc esi
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 4], esi
je 0x4b2557
mov cl, byte [esi]
and cl, 0xc0
cmp cl, 0x80
jne 0x4b2557
inc esi
mov dword [ebp - 4], esi
mov dl, byte [esi]
and dl, 0xc0
cmp dl, 0x80
je 0x4b2549
mov al, byte [esi]
test al, al
jne 0x4b24da
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x28
jne 0x4b259d
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
push ebx
push ecx
push edx
mov edx, dword [ebp + 0x14]
push edx
push eax
lea ecx, [ebp - 4]
push edi
push ecx
call fcn.004b2243
add esp, 0x1c
test eax, eax
jg 0x4b2602
mov esi, dword [ebp - 4]
cmp byte [esi], 0
je 0x4b25d6
jmp 0x4b25b9
cmp al, 0x29
je 0x4b25ca
cmp al, 0x7c
jne 0x4b25b9
cmp dword [ebp - 0xc], 0
je 0x4b25b9
mov eax, dword [ebx]
cmp eax, ecx
jle 0x4b25b4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
mov dword [ebx], edx
inc esi
mov dword [ebp - 4], esi
cmp esi, dword [edi + 0x1c]
jae 0x4b25d6
mov ebx, dword [ebp + 0x20]
jmp 0x4b23ad
cmp dword [ebp - 0xc], 0
je 0x4b25d6
cmp dword [ebx], ecx
jge 0x4b25d6
mov dword [ebx], ecx
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 0x3f
je 0x4b228b
inc eax
mov dword [ebx], eax
test edi, edi
jne 0x4b2316
cmp eax, dword [ebp + 0x14]
jne 0x4b2316
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret