Function at 0x4b5740
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
mov eax, ecx
push ebp
mov dword [esp + 0x18], eax
mov ebp, edx
push esi
mov eax, dword [eax]
mov edx, dword [ebx]
mov esi, edx
mov dword [esp + 0xc], eax
push edi
cmp byte [eax], 0x28
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
jne 0x4b5924
mov cl, byte [eax + 1]
cmp cl, 0x2a
jne 0x4b5790
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4b5924
cmp cl, 0x3f
je 0x4b57bb
cmp dword [esp + 0x28], 0
lea ecx, [edx + 1]
mov dword [ebx], ecx
jne 0x4b57b1
cmp ecx, dword [esp + 0x2c]
jne 0x4b57b1
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x14
ret
inc eax
mov dword [esp + 0x10], eax
jmp 0x4b5924
mov cl, byte [eax + 2]
cmp cl, 0x7c
jne 0x4b57d7
add eax, 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], eax
jmp 0x4b5924
cmp cl, 0x23
jne 0x4b5819
lea edx, [eax + 3]
mov eax, edx
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4b5b5c
nop
cmp cl, 0x29
je 0x4b5b5c
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4b57f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
add eax, 2
mov dword [esp + 0x10], eax
cmp cl, 0x28
jne 0x4b586e
cmp byte [eax + 1], 0x3f
je 0x4b5924
mov cl, byte [eax]
test cl, cl
je 0x4b5924
mov edx, eax
nop dword [eax + eax]
cmp cl, 0x29
je 0x4b5859
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4b5840
jmp 0x4b5924
cmp byte [eax], 0
je 0x4b5924
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
jmp 0x4b5924
cmp byte [eax], 0x50
mov edi, eax
jne 0x4b587e
lea edi, [eax + 1]
mov eax, edi
mov dword [esp + 0x10], eax
mov cl, byte [eax]
cmp cl, 0x3c
jne 0x4b5896
mov dl, byte [eax + 1]
cmp dl, 0x21
je 0x4b5912
cmp dl, 0x3d
jne 0x4b589b
cmp cl, 0x27
jne 0x4b5912
mov eax, esi
inc eax
cmp dword [esp + 0x28], 0
mov dword [ebx], eax
jne 0x4b58b1
cmp eax, dword [esp + 0x2c]
je 0x4b5b65
inc edi
movzx esi, cl
mov eax, edi
cmp esi, 0x3c
mov ecx, 0x3e
mov dword [esp + 0x10], eax
cmove esi, ecx
mov edx, edi
movzx ecx, byte [eax]
cmp ecx, esi
je 0x4b58de
nop
inc eax
mov dword [esp + 0x10], eax
mov edx, eax
movzx ecx, byte [eax]
cmp ecx, esi
jne 0x4b58d0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4b591a
mov ecx, dword [esp + 0x2c]
sub edx, edi
cmp ecx, edx
jne 0x4b591a
push ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x4b590c
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
jmp 0x4b5920
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
jmp 0x4b5924
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov esi, dword [esp + 0x14]
cmp eax, dword [ebp + 0x1c]
jae 0x4b5b5c
mov edx, dword [esp + 0x30]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4b5973
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4b5b5c
cmp cl, 0x51
jne 0x4b5a39
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4b5b5c
cmp cl, 0x5c
jne 0x4b5950
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x45
jne 0x4b5950
jmp 0x4b5a39
cmp cl, 0x5b
jne 0x4b5a56
xor esi, esi
nop
mov cl, byte [eax + 1]
cmp cl, 0x5c
jne 0x4b59ae
add eax, 2
cmp byte [eax], 0x45
je 0x4b59bd
push 3
push 0x4d0980
push eax
call edi
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4b59c3
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x4b5980
test esi, esi
jne 0x4b59c3
cmp cl, 0x5e
jne 0x4b59c3
mov esi, 1
inc eax
mov dword [esp + 0x10], eax
jmp 0x4b5980
cmp byte [eax + 1], 0x5d
lea ecx, [eax + 1]
jne 0x4b59d6
test dword [ebp + 0x4c], 0x2000000
cmove eax, ecx
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
je 0x4b5a35
test dl, dl
je 0x4b5b62
mov ecx, eax
cmp dl, 0x5c
jne 0x4b5a27
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
test dl, dl
je 0x4b5b5c
mov ecx, eax
cmp dl, 0x51
jne 0x4b5a27
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4b5b5c
cmp cl, 0x5c
jne 0x4b5a07
inc eax
mov dword [esp + 0x10], eax
mov ecx, eax
cmp byte [eax], 0x45
jne 0x4b5a07
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
jne 0x4b59e2
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebp + 0x1c]
jae 0x4b5b5c
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov esi, dword [esp + 0x14]
jmp 0x4b5931
test edx, edx
je 0x4b5aef
cmp cl, 0x23
jne 0x4b5aef
inc eax
mov dword [esp + 0x10], eax
mov bl, byte [eax]
test bl, bl
je 0x4b5b5c
mov esi, eax
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x1c]
test edx, edx
je 0x4b5ab4
cmp esi, ecx
jae 0x4b5acf
push ecx
lea edi, [ebp + 0x64]
push edi
push ecx
mov ecx, eax
call fcn.004c0b20
add esp, 0xc
test eax, eax
je 0x4b5acf
mov edx, dword [edi]
lea eax, [esi - 1]
add eax, edx
mov dword [esp + 0x10], eax
cmp byte [eax], 0
je 0x4b5b5c
mov ebx, dword [esp + 0x38]
jmp 0x4b5a35
mov edx, dword [ebp + 0x64]
sub ecx, edx
cmp esi, ecx
ja 0x4b5acf
cmp bl, byte [ebp + 0x68]
jne 0x4b5acf
cmp edx, 1
je 0x4b5a9c
mov al, byte [eax + 1]
cmp al, byte [ebp + 0x69]
je 0x4b5a9c
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
mov esi, eax
mov bl, byte [eax]
test bl, bl
jne 0x4b5a78
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
cmp cl, 0x28
jne 0x4b5b20
push ebx
push 0
push edx
push dword [esp + 0x38]
mov edx, ebp
lea ecx, [esp + 0x20]
push dword [esp + 0x38]
call fcn.004b5740
add esp, 0x14
test eax, eax
jg 0x4b5b65
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x4b5b5c
jmp 0x4b5a35
cmp cl, 0x29
je 0x4b5b4f
cmp cl, 0x7c
jne 0x4b5a39
cmp dword [esp + 0x18], 0
je 0x4b5a39
mov ecx, dword [ebx]
cmp ecx, esi
mov edi, dword [esp + 0x1c]
cmovle ecx, esi
mov dword [ebx], edi
mov dword [esp + 0x14], ecx
jmp 0x4b5a39
cmp dword [esp + 0x18], 0
je 0x4b5b5c
cmp dword [ebx], esi
jge 0x4b5b5c
mov dword [ebx], esi
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret