Function at 0x52b3b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 4], 0
jne 0x52b421
mov eax, dword [ebp + 0xc]
push eax
call fcn.0052bf60
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x52b421
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x7528]
mov ecx, dword [str.205:_No_input_data]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [0x59557c]
mov dword [edx + 4], ecx
mov ecx, dword [0x595580]
mov dword [edx + 8], ecx
mov ecx, dword [0x595584]
mov dword [edx + 0xc], ecx
mov cx, word [0x595588]
mov word [edx + 0x10], cx
mov cl, byte [0x59558a]
mov byte [edx + 0x12], cl
jmp 0x52b7ec
mov ebx, dword [ebp + 8]
mov edi, 0x59ddd8
lea esi, [ebx + 0x28]
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [edi]
jne 0x52b450
test cl, cl
je 0x52b44c
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x52b450
add esi, 2
add edi, 2
test cl, cl
jne 0x52b42c
xor ecx, ecx
jmp 0x52b455
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x52b46b
mov ecx, dword [str.out.gif]
mov dword [ebx + 0x28], ecx
mov edx, dword [0x595574]
mov dword [ebx + 0x2c], edx
add eax, 4
and al, 0xfc
call fcn.005322e0
mov eax, dword [ebx]
mov dword [ebp + 8], esp
cmp eax, 1
jge 0x52b49e
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.206:_Symbology_out_of_range__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 0x14
cmp dword [ebx], 5
jne 0x52b4a9
mov dword [ebx], 2
mov eax, dword [ebx]
cmp eax, 0xa
jl 0x52b4bb
cmp eax, 0xc
jg 0x52b4bb
mov dword [ebx], 0xd
cmp dword [ebx], 0xf
jne 0x52b4c6
mov dword [ebx], 0xd
cmp dword [ebx], 0x11
jne 0x52b4d1
mov dword [ebx], 0x22
cmp dword [ebx], 0x13
jne 0x52b4f6
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.207:_Codabar_18_not_supported__using_Codabar
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebx], 0x12
cmp dword [ebx], 0x1a
jne 0x52b501
mov dword [ebx], 0x22
mov eax, dword [ebx]
cmp eax, 0x1b
jne 0x52b522
lea edi, [ebx + 0x7528]
mov ecx, 6
mov esi, str.208:_UPCD1_not_supported
mov dword [ebp - 4], 8
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp eax, 0x21
jne 0x52b52d
mov dword [ebx], 0x10
cmp dword [ebx], 0x24
jne 0x52b538
mov dword [ebx], 0x22
cmp dword [ebx], 0x26
jne 0x52b543
mov dword [ebx], 0x25
mov eax, dword [ebx]
cmp eax, 0x29
jl 0x52b555
cmp eax, 0x2d
jg 0x52b555
mov dword [ebx], 0x28
cmp dword [ebx], 0x2e
jne 0x52b560
mov dword [ebx], 0x56
cmp dword [ebx], 0x30
jne 0x52b56b
mov dword [ebx], 0x4b
cmp dword [ebx], 0x36
jne 0x52b592
lea edi, [ebx + 0x7528]
mov ecx, 0xd
mov esi, str.210:_General_Parcel_Code_not_supported__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebx], 0x14
mov eax, dword [ebx]
cmp eax, 0x3b
je 0x52b59e
cmp eax, 0x3d
jne 0x52b5a4
mov dword [ebx], 0x14
cmp dword [ebx], 0x3e
jne 0x52b5af
mov dword [ebx], 0x19
mov eax, dword [ebx]
cmp eax, 0x40
je 0x52b5bb
cmp eax, 0x41
jne 0x52b5c1
mov dword [ebx], 0x3f
cmp dword [ebx], 0x4e
jne 0x52b5cc
mov dword [ebx], 0x1d
cmp dword [ebx], 0x53
jne 0x52b5d7
mov dword [ebx], 0x52
cmp dword [ebx], 0x58
jne 0x52b5e2
mov dword [ebx], 0x10
cmp dword [ebx], 0x5b
jne 0x52b606
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.212:_Symbology_out_of_range__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 0x14
mov eax, dword [ebx]
cmp eax, 0x5e
jl 0x52b631
cmp eax, 0x60
jg 0x52b631
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.213:_Symbology_out_of_range__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 0x14
cmp dword [ebx], 0x64
jne 0x52b63c
mov dword [ebx], 0x62
cmp dword [ebx], 0x65
jne 0x52b647
mov dword [ebx], 0x63
cmp dword [ebx], 0x67
jne 0x52b652
mov dword [ebx], 0x66
cmp dword [ebx], 0x69
jne 0x52b65d
mov dword [ebx], 0x68
cmp dword [ebx], 0x6b
jne 0x52b668
mov dword [ebx], 0x6a
cmp dword [ebx], 0x6d
jne 0x52b673
mov dword [ebx], 0x6c
cmp dword [ebx], 0x6f
jne 0x52b67e
mov dword [ebx], 0x6e
mov eax, dword [ebx]
cmp eax, 0x71
je 0x52b68a
cmp eax, 0x72
jne 0x52b6a9
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.214:_Symbology_out_of_range__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 0x14
cmp dword [ebx], 0x73
jne 0x52b6b4
mov dword [ebx], 0x73
mov eax, dword [ebx]
cmp eax, 0x75
jl 0x52b6e4
cmp eax, 0x7f
jg 0x52b6e4
cmp eax, 0x79
je 0x52b6e4
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.215:_Symbology_out_of_range__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], 0x14
cmp dword [ebx], 0x90
jl 0x52b710
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.216:_Symbology_out_of_range__using_Code_128
mov dword [ebp - 4], 2
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov dword [ebx], 0x14
jmp 0x52b71c
mov esi, dword [ebp - 4]
cmp esi, 4
jg 0x52b872
mov eax, dword [ebx]
mov dword [ebp - 8], esi
push eax
call fcn.0052bc90
add esp, 4
test eax, eax
jne 0x52b752
cmp dword [ebx + 0x144], 3
je 0x52b752
lea edi, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.217:_Symbology_does_not_support_ECI_switching
mov dword [ebp - 4], 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 0x144]
cmp eax, 3
jl 0x52b764
cmp eax, 0xf423f
jle 0x52b77f
lea edi, [ebx + 0x7528]
mov ecx, 5
mov esi, str.218:_Invalid_ECI_mode
mov dword [ebp - 4], 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp dword [ebx + 0x140], 2
jne 0x52b82c
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor eax, eax
test ecx, ecx
jle 0x52b7a3
cmp byte [eax + edi], 0
je 0x52b7d5
inc eax
cmp eax, ecx
jl 0x52b798
mov ecx, dword [ebx]
push ecx
call fcn.0052bbe0
add esp, 4
cmp eax, 1
jne 0x52b817
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push edx
push eax
push edi
push ebx
call fcn.0052cfc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x52b806
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0x7528]
mov ecx, 0xb
mov esi, str.219:_NULL_characters_not_permitted_in_GS1_mode
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 6
push eax
call fcn.0052b030
add esp, 8
mov eax, 6
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052bf60
add esp, 4
mov dword [ebp + 0x10], eax
jmp 0x52b852
lea eax, [ebx + 0x7528]
mov ecx, 0xc
mov esi, str.220:_Selected_symbology_does_not_support_GS1_mode
jmp 0x52ba74
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test byte [ebx + 0x140], 8
je 0x52b895
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push eax
push ebx
call fcn.0052b120
mov esi, eax
add esp, 0xc
test esi, esi
je 0x52b88e
add ebx, 0x7528
push esi
push ebx
call fcn.0052b030
add esp, 8
mov eax, esi
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebx + 0x140], 0xfffffff8
mov eax, dword [ebx + 0x140]
xor ecx, ecx
cmp eax, ecx
jl 0x52b8a6
cmp eax, 2
jle 0x52b8ac
mov dword [ebx + 0x140], ecx
mov eax, dword [ebx + 0x144]
cmp eax, 3
je 0x52b8c2
cmp eax, 0x1a
je 0x52b8c2
mov dword [ebx + 0x140], ecx
cmp dword [ebx + 0x140], 1
jne 0x52b8db
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push edx
call fcn.0052b0e0
add esp, 8
fld dword [ebx + 0x759c]
fcomp qword [0x579c78]
fnstsw ax
test ah, 1
jne 0x52ba64
fld dword [ebx + 0x759c]
fcomp qword [0x579c70]
fnstsw ax
test ah, 0x41
je 0x52ba64
mov eax, dword [ebx]
add eax, 0xffffffc6
cmp eax, 0x55
ja case.0x52b91b.59
xor ecx, ecx
mov cl, byte [eax + 0x52ba9c]
jmp dword [ecx*4 + 0x52ba94]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
call fcn.0052bd20
add esp, 0xc
mov esi, eax
cmp esi, 6
jne 0x52ba22
mov ecx, dword [ebx]
push ecx
call fcn.0052bc90
add esp, 4
test eax, eax
je 0x52b9f8
cmp dword [ebx + 0x140], 1
jne 0x52b9f8
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.0052c6b0
mov ecx, dword [ebx]
add esp, 8
mov dword [ebx + 0x144], eax
lea esi, [ecx - 0x3a]
cmp esi, 0x54
ja case.0x52b986.59
xor ecx, ecx
mov cl, byte [esi + 0x52bafc]
jmp dword [ecx*4 + 0x52baf4]
mov ecx, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push ecx
push edi
push eax
call fcn.0052c2b0
add esp, 0x10
jmp 0x52b9b2
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
call fcn.0052bd20
add esp, 0xc
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
jne 0x52b9f8
lea edi, [ebx + 0x7528]
mov ecx, 7
mov esi, str.222:_Encoded_data_includes_ECI
mov eax, dword [ebx + 0x75a4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test eax, eax
mov dword [ebp - 4], 3
movsb byte es:[edi], byte [esi]
je 0x52b9f5
mov ecx, dword [ebx + 0x144]
push ecx
push str.Data_ECI__d_n
call sub.MSVCRT.dll_printf
add esp, 8
mov esi, dword [ebp - 4]
lea edx, [ebx + 0x7528]
push esi
push edx
call fcn.0052b030
add esp, 8
cmp esi, 5
jg 0x52ba16
push ebx
call fcn.0052bb60
add esp, 4
mov eax, esi
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x52b9f8
mov eax, dword [ebx]
cmp eax, 0x14
je 0x52ba32
cmp eax, 0x3c
jne 0x52ba5f
mov ecx, dword [ebp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x52ba5f
mov dl, 0x20
mov ecx, dword [ebp + 8]
mov cl, byte [eax + ecx]
test cl, cl
jne 0x52ba50
mov byte [eax + ebx + 0x148], dl
jmp 0x52ba57
mov byte [eax + ebx + 0x148], cl
mov ecx, dword [ebp + 0x10]
inc eax
cmp eax, ecx
jl 0x52ba3d
mov esi, dword [ebp - 8]
jmp 0x52b9f8
lea eax, [ebx + 0x7528]
mov ecx, 5
mov esi, str.221:_Invalid_dot_size
mov edi, eax
push 8
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call fcn.0052b030
add esp, 8
mov eax, 8
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret