Function at 0x5b3377
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx ecx, byte [edx]
mov eax, ecx
push 4
pop ebx
cmp ecx, 0x2e
ja 0x5b3497
je 0x5b347d
sub eax, 9
cmp eax, 0x24
ja case.0x5b33aa.11
movzx eax, byte [eax + 0x5b390f]
jmp dword [eax*4 + 0x5b38db]
movzx eax, byte [edx + 1]
xor esi, esi
inc esi
test byte [eax + 0x610188], 1
je 0x5b33cf
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x610188], 1
jne 0x5b33c1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x97
mov eax, esi
jmp 0x5b38d6
cmp byte [edx + 1], 0x2d
jne 0x5b33fe
movzx eax, byte [edx + 2]
push 2
pop esi
jmp 0x5b33f8
cmp eax, 0xa
je 0x5b33cf
inc esi
movzx eax, byte [esi + edx]
test eax, eax
jne 0x5b33ee
jmp 0x5b33cf
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5a
xor eax, eax
inc eax
jmp 0x5b38d6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x16
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x59
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5b
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5d
jmp 0x5b3407
cmp byte [edx + 1], 0x3d
mov eax, dword [ebp + 0xc]
push 2
je 0x5b345c
mov dword [eax], 0x96
jmp 0x5b3699
mov dword [eax], 0x4e
jmp 0x5b3699
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1a
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x55
jmp 0x5b3407
movzx eax, byte [edx + 1]
test byte [eax + 0x610188], bl
jne 0x5b34e9
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x7a
jmp 0x5b3407
cmp ecx, 0x3f
ja 0x5b36fb
je 0x5b36ca
cmp ecx, 0x3b
ja 0x5b362b
je 0x5b361e
cmp ecx, 0x2f
je 0x5b35d8
jbe case.0x5b33aa.11
cmp ecx, 0x39
jbe 0x5b34e9
cmp ecx, 0x3a
je case.0x5b33aa.35
test byte [ecx + 0x610188], 0x46
jne 0x5b3836
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x96
jmp 0x5b3407
mov edi, dword [ebp + 0xc]
mov dword [edi], 0x84
mov cl, byte [edx]
cmp cl, 0x30
jne 0x5b3538
mov al, byte [edx + 1]
cmp al, 0x78
je 0x5b3504
cmp al, 0x58
jne 0x5b3538
movzx eax, byte [edx + 2]
test byte [eax + 0x610188], 8
je 0x5b3538
movzx eax, byte [edx + 3]
push 3
pop esi
test byte [eax + 0x610188], 8
je 0x5b33d8
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x610188], 8
jne 0x5b3525
jmp 0x5b33d8
xor esi, esi
movzx eax, cl
jmp 0x5b3544
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x610188], bl
jne 0x5b353f
cmp byte [esi + edx], 0x2e
jne 0x5b3565
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x610188], bl
jne 0x5b3552
mov dword [edi], 0x85
mov al, byte [esi + edx]
cmp al, 0x65
je 0x5b3570
cmp al, 0x45
jne 0x5b35ae
mov cl, byte [esi + edx + 1]
movzx eax, cl
test byte [eax + 0x610188], bl
jne 0x5b3596
cmp cl, 0x2b
je 0x5b3589
cmp cl, 0x2d
jne 0x5b35ae
movzx eax, byte [esi + edx + 2]
test byte [eax + 0x610188], bl
je 0x5b35ae
add esi, 2
jmp 0x5b359c
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x610188], bl
jne 0x5b359b
mov dword [edi], 0x85
movzx eax, byte [esi + edx]
test byte [eax + 0x610188], 0x46
je 0x5b33d8
inc esi
mov dword [edi], 0x96
movzx ecx, byte [esi + edx]
test byte [ecx + 0x610188], 0x46
jne 0x5b35bf
jmp 0x5b33d8
cmp byte [edx + 1], 0x2a
jne 0x5b3610
mov cl, byte [edx + 2]
test cl, cl
je 0x5b3610
push 3
pop eax
movzx ecx, cl
cmp ecx, 0x2a
jne 0x5b35f6
cmp byte [eax + edx], 0x2f
je 0x5b3601
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x5b3602
inc eax
jmp 0x5b35eb
inc eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x97
jmp 0x5b38d6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5c
jmp 0x5b3407
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x5b38d6
sub eax, 0x3c
je 0x5b3685
sub eax, 1
je 0x5b366d
sub eax, 1
jne case.0x5b33aa.11
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x5b3652
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x53
jmp 0x5b3697
cmp eax, 0x3e
mov eax, dword [ebp + 0xc]
jne 0x5b3662
mov dword [eax], 0x58
jmp 0x5b3697
mov dword [eax], pe_nt_image_headers32
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4f
xor eax, eax
cmp byte [edx + 1], 0x3d
sete al
inc eax
jmp 0x5b38d6
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x5b369f
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x51
push 2
pop eax
jmp 0x5b38d6
cmp eax, 0x3e
jne 0x5b36af
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4e
jmp 0x5b3697
cmp eax, 0x3c
mov eax, dword [ebp + 0xc]
jne 0x5b36bf
mov dword [eax], 0x57
jmp 0x5b3697
mov dword [eax], 0x52
jmp 0x5b3407
mov eax, dword [ebp + 0xc]
xor esi, esi
push 4
pop ebx
inc esi
mov dword [eax], 0x87
movzx eax, byte [edx + 1]
test byte [eax + 0x610188], bl
je 0x5b33d8
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x610188], bl
jne 0x5b36e9
jmp 0x5b33d8
sub eax, 0x40
je case.0x5b33aa.35
sub eax, 0x18
je 0x5b37de
sub eax, 3
je 0x5b37b3
sub eax, 5
je case.0x5b33aa.34
sub eax, 0x18
je 0x5b37de
sub eax, 4
je 0x5b3741
dec eax
sub eax, 1
jne case.0x5b33aa.11
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x60
jmp 0x5b3407
cmp byte [edx + 1], 0x7c
mov eax, dword [ebp + 0xc]
je 0x5b3755
mov dword [eax], 0x56
jmp 0x5b3407
mov dword [eax], 0x5e
jmp 0x5b3697
movzx edi, byte [edx + 1]
xor esi, esi
inc esi
jmp 0x5b377c
cmp edi, ecx
jne 0x5b3777
movzx eax, byte [edx + esi + 1]
cmp eax, ecx
jne 0x5b3780
inc esi
inc esi
movzx edi, byte [esi + edx]
test edi, edi
jne 0x5b3769
cmp edi, 0x27
jne 0x5b3796
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x61
lea eax, [esi + 1]
jmp 0x5b38d6
test edi, edi
je 0x5b37a5
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1b
jmp 0x5b378e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x96
jmp 0x5b33d8
xor eax, eax
inc eax
jmp 0x5b37c1
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x5b37c6
inc eax
cmp ecx, 0x5d
jne 0x5b37b8
cmp ecx, 0x5d
mov edx, 0x96
mov ecx, dword [ebp + 0xc]
push 0x1b
pop esi
cmove edx, esi
mov dword [ecx], edx
jmp 0x5b38d6
cmp byte [edx + 1], 0x27
jne case.0x5b33aa.11
mov esi, dword [ebp + 0xc]
push 2
pop ecx
mov dword [esi], 0x86
movzx eax, byte [edx + 2]
jmp 0x5b37ff
inc ecx
movzx eax, byte [ecx + edx]
test byte [eax + 0x610188], 8
jne 0x5b37fa
cmp byte [ecx + edx], 0x27
jne 0x5b3813
test cl, 1
je 0x5b3827
mov dword [esi], 0x96
jmp 0x5b3820
cmp al, 0x27
je 0x5b3827
inc ecx
mov al, byte [ecx + edx]
test al, al
jne 0x5b381b
cmp byte [ecx + edx], 0
lea eax, [ecx + 1]
cmove eax, ecx
jmp 0x5b38d6
movzx eax, byte [edx + 1]
xor esi, esi
inc esi
jmp 0x5b3844
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x610188], 0x46
jne 0x5b383f
push esi
push edx
call fcn.0059b520
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x5b33d8
mov edi, dword [ebp + 0xc]
xor ecx, ecx
xor esi, esi
inc ecx
mov dword [edi], 0x87
movzx ebx, byte [edx + 1]
test ebx, ebx
je 0x5b38ce
movzx eax, bl
test byte [eax + 0x610188], 0x46
je 0x5b3885
inc esi
jmp 0x5b389a
cmp ebx, 0x28
jne 0x5b388e
test esi, esi
jg 0x5b38a5
cmp ebx, 0x3a
jne 0x5b38ca
cmp byte [edx + ecx + 1], bl
jne 0x5b38ca
inc ecx
inc ecx
movzx ebx, byte [ecx + edx]
test ebx, ebx
jne 0x5b3876
jmp 0x5b38ca
inc ecx
movzx ebx, byte [ecx + edx]
test ebx, ebx
je 0x5b38bc
test byte [ebx + 0x610188], 1
jne 0x5b38bc
cmp ebx, 0x29
jne 0x5b38a5
cmp ebx, 0x29
jne 0x5b38c4
inc ecx
jmp 0x5b38ca
mov dword [edi], 0x96
test esi, esi
jne 0x5b38d4
mov dword [edi], 0x96
mov eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret