Function at 0x4a8000
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 0x4a81e4
mov cl, byte [eax + 1]
cmp cl, 0x2a
jne 0x4a8050
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4a81e4
cmp cl, 0x3f
je 0x4a807b
cmp dword [esp + 0x28], 0
lea ecx, [edx + 1]
mov dword [ebx], ecx
jne 0x4a8071
cmp ecx, dword [esp + 0x2c]
jne 0x4a8071
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x14
ret
inc eax
mov dword [esp + 0x10], eax
jmp 0x4a81e4
mov cl, byte [eax + 2]
cmp cl, 0x7c
jne 0x4a8097
add eax, 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], eax
jmp 0x4a81e4
cmp cl, 0x23
jne 0x4a80d9
lea edx, [eax + 3]
mov eax, edx
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a841c
nop
cmp cl, 0x29
je 0x4a841c
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a80b0
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 0x4a812e
cmp byte [eax + 1], 0x3f
je 0x4a81e4
mov cl, byte [eax]
test cl, cl
je 0x4a81e4
mov edx, eax
nop dword [eax + eax]
cmp cl, 0x29
je 0x4a8119
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a8100
jmp 0x4a81e4
cmp byte [eax], 0
je 0x4a81e4
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
jmp 0x4a81e4
cmp byte [eax], 0x50
mov edi, eax
jne 0x4a813e
lea edi, [eax + 1]
mov eax, edi
mov dword [esp + 0x10], eax
mov cl, byte [eax]
cmp cl, 0x3c
jne 0x4a8156
mov dl, byte [eax + 1]
cmp dl, 0x21
je 0x4a81d2
cmp dl, 0x3d
jne 0x4a815b
cmp cl, 0x27
jne 0x4a81d2
mov eax, esi
inc eax
cmp dword [esp + 0x28], 0
mov dword [ebx], eax
jne 0x4a8171
cmp eax, dword [esp + 0x2c]
je 0x4a8425
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 0x4a819e
nop
inc eax
mov dword [esp + 0x10], eax
mov edx, eax
movzx ecx, byte [eax]
cmp ecx, esi
jne 0x4a8190
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4a81da
mov ecx, dword [esp + 0x2c]
sub edx, edi
cmp ecx, edx
jne 0x4a81da
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 0x4a81cc
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
jmp 0x4a81e0
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
jmp 0x4a81e4
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 0x4a841c
mov edx, dword [esp + 0x30]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4a8233
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a841c
cmp cl, 0x51
jne 0x4a82f9
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a841c
cmp cl, 0x5c
jne 0x4a8210
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x45
jne 0x4a8210
jmp 0x4a82f9
cmp cl, 0x5b
jne 0x4a8316
xor esi, esi
nop
mov cl, byte [eax + 1]
cmp cl, 0x5c
jne 0x4a826e
add eax, 2
cmp byte [eax], 0x45
je 0x4a827d
push 3
push 0x4c2260
push eax
call edi
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4a8283
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x4a8240
test esi, esi
jne 0x4a8283
cmp cl, 0x5e
jne 0x4a8283
mov esi, 1
inc eax
mov dword [esp + 0x10], eax
jmp 0x4a8240
cmp byte [eax + 1], 0x5d
lea ecx, [eax + 1]
jne 0x4a8296
test dword [ebp + 0x4c], 0x2000000
cmove eax, ecx
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
je 0x4a82f5
test dl, dl
je 0x4a8422
mov ecx, eax
cmp dl, 0x5c
jne 0x4a82e7
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
test dl, dl
je 0x4a841c
mov ecx, eax
cmp dl, 0x51
jne 0x4a82e7
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a841c
cmp cl, 0x5c
jne 0x4a82c7
inc eax
mov dword [esp + 0x10], eax
mov ecx, eax
cmp byte [eax], 0x45
jne 0x4a82c7
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
jne 0x4a82a2
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebp + 0x1c]
jae 0x4a841c
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov esi, dword [esp + 0x14]
jmp 0x4a81f1
test edx, edx
je 0x4a83af
cmp cl, 0x23
jne 0x4a83af
inc eax
mov dword [esp + 0x10], eax
mov bl, byte [eax]
test bl, bl
je 0x4a841c
mov esi, eax
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x1c]
test edx, edx
je 0x4a8374
cmp esi, ecx
jae 0x4a838f
push ecx
lea edi, [ebp + 0x64]
push edi
push ecx
mov ecx, eax
call fcn.004b33e0
add esp, 0xc
test eax, eax
je 0x4a838f
mov edx, dword [edi]
lea eax, [esi - 1]
add eax, edx
mov dword [esp + 0x10], eax
cmp byte [eax], 0
je 0x4a841c
mov ebx, dword [esp + 0x38]
jmp 0x4a82f5
mov edx, dword [ebp + 0x64]
sub ecx, edx
cmp esi, ecx
ja 0x4a838f
cmp bl, byte [ebp + 0x68]
jne 0x4a838f
cmp edx, 1
je 0x4a835c
mov al, byte [eax + 1]
cmp al, byte [ebp + 0x69]
je 0x4a835c
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
mov esi, eax
mov bl, byte [eax]
test bl, bl
jne 0x4a8338
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 0x4a83e0
push ebx
push 0
push edx
push dword [esp + 0x38]
mov edx, ebp
lea ecx, [esp + 0x20]
push dword [esp + 0x38]
call fcn.004a8000
add esp, 0x14
test eax, eax
jg 0x4a8425
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x4a841c
jmp 0x4a82f5
cmp cl, 0x29
je 0x4a840f
cmp cl, 0x7c
jne 0x4a82f9
cmp dword [esp + 0x18], 0
je 0x4a82f9
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 0x4a82f9
cmp dword [esp + 0x18], 0
je 0x4a841c
cmp dword [ebx], esi
jge 0x4a841c
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