Function at 0x4732a0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 4], ecx
test edi, edi
je 0x473587
mov eax, dword [0x5ed84c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0
sets dl
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
dec edx
and edx, eax
movzx eax, word [ebp]
mov dword [esp + 0x30], edx
cmp ax, 0x23
jne 0x4733d8
mov esi, 1
cmp edi, esi
jle 0x47330c
jmp 0x4732f0
movzx eax, word [ebp + esi*2]
cmp ax, 0x3d
je 0x47330c
cmp ax, 0x20
je 0x47330c
cmp ax, 9
je 0x47330c
inc esi
cmp esi, edi
jl 0x4732f0
mov eax, 0x3d
cmp ax, word [ebp + esi*2]
jne 0x47331d
cmp esi, edi
jge 0x47331d
inc esi
mov ecx, dword [0x5b35b4]
imul ecx, ecx, 0x190
cmp dword [0x5ba144], 0
mov eax, dword [ecx + 0x5bd340]
je 0x47333d
mov eax, dword [0x5ba284]
mov ebx, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push esi
push ebp
push edx
mov edx, dword [esp + 0x3c]
push 4
add eax, ecx
push eax
push edx
push ebx
call fcn.0046f510
add esp, 0x28
cmp esi, edi
jge 0x473584
mov eax, dword [esp + 0x34]
sub edi, esi
lea ebp, [ebp + esi*2]
test eax, eax
je 0x473397
lea eax, [eax + esi*4]
mov dword [esp + 0x34], eax
mov ecx, dword [0x5b35b4]
imul ecx, ecx, 0x190
cmp dword [0x5ba144], 0
mov eax, dword [ecx + 0x5bd364]
je 0x4733b7
mov eax, dword [0x5ba284]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
jmp 0x47356e
cmp ax, 0x3b
jne 0x47343e
mov edx, dword [0x5b35b4]
imul edx, edx, 0x190
cmp dword [0x5ba144], 0
mov eax, dword [edx + 0x5bd35c]
je 0x4733fe
mov eax, dword [0x5ba284]
mov esi, dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push edi
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
call fcn.0046f890
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 0x24
xor esi, esi
test edi, edi
jle 0x473463
lea eax, [esi + 0x21]
cmp word [ebp + esi*2], 0x5e
jne 0x47345e
cmp word [ebp + esi*2 + 2], ax
je 0x473463
lea edx, [edi - 1]
cmp esi, edx
jge 0x47345e
inc esi
inc esi
cmp esi, edi
jl 0x473447
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push esi
push ebp
push eax
push edx
push ebx
call fcn.0046f890
cmp esi, edi
je 0x473584
mov eax, dword [esp + 0x34]
lea ebp, [ebp + esi*2]
test eax, eax
je 0x4734a8
lea eax, [eax + esi*4]
mov dword [esp + 0x34], eax
mov eax, dword [0x5b35b4]
xor edx, edx
lea ecx, [edi - 1]
cmp esi, ecx
setl dl
imul eax, eax, 0x190
mov eax, dword [eax + 0x5bd344]
inc edx
cmp dword [0x5ba144], 0
mov dword [esp + 0x20], edx
je 0x4734d6
mov eax, dword [0x5ba284]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [esp + 0x40], 0
jne 0x47350d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push ebp
push edx
mov edx, dword [esp + 0x34]
push 4
add eax, ecx
push eax
mov eax, dword [edx]
push eax
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
push ebp
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add dword [eax], ecx
add edx, esi
sub edi, edx
test edi, edi
jle 0x473584
mov esi, dword [esp + 0x34]
add ebp, 4
test esi, esi
je 0x473543
add esi, 8
cmp dword [0x5ba144], 0
mov eax, dword [0x5ba278]
je 0x473556
mov eax, dword [0x5ba284]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edi
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ebx
call fcn.0046f890
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 0x24