Function at 0x4823eb
Capabilities:
Parse credit card information

Disassembly:
mov ax, word [eax]
test ax, ax
jne 0x4823fb
or dword [ebp + 0x64], 0xffffffff
or dword [ebp + 0x1c], 0xffffffff
and dword [ebp - 0x6c], 0
and dword [ebp - 0x1c], 0
in al, 0
test ax, ax
je 0x482702
push 0x2c
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4c20c2
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp word [eax], 0x2c
jne 0x482473
dec esp
add dword [ebp + 0x78], 2
mov esi, dword [ebp + 0x78]
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4c20e4
xor eax, eax
mov ax, word [esi]
mov ebx, 0xffdf
add esp, 0xc
and eax, ebx
cmp ax, 0x41
jb 0x482478
cmp ax, 0x5a
ja 0x482478
push dword [ebp + 0x78]
mov byte [ebp + 0x3f], al
mov byte [ebp + 0x6b], al
lea eax, [ebp - 0xcc]
call dword [esi + 0x50]
call 0x4c44ee
add esp, 0xc
jmp 0x482478
mov ebx, 0xffdf
mov eax, dword [ebp + 0x78]
push 0x2c
pop esi
cmp word [eax], si
jne 0x482498
add dword [ebp + 0x78], 2
push esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
call 0x4c2389
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x482514
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call 0x4b9712
push esi
lea eax, [ebp + 0x78]
call fcn.004941b4
mov edx, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
cmp byte [ebp + 0x6c], 0
mov eax, dword [ebp + 0x64]
push 4
mov dword [ebp - 0x2c], 0xfffffff8
mov dword [ebp - 0x14], eax
pop ecx
je 0x48274e
test eax, eax
jg 0x482724
xor esi, esi
inc esi
jmp 0x48293f
cmp eax, ecx
jg 0x48272b
dec eax
jmp 0x482732
lea eax, [eax*4 - 0x10]
test eax, eax
mov dword [ebp + 0x64], eax
jl 0x482740
cmp eax, ecx
jge 0x482744
inc eax
jmp 0x48274b
cmp eax, ecx
jl 0x48274e
cdq
mov esi, ecx
idiv esi
add eax, ecx
mov dword [ebp + 0x64], eax
push dword [ebp + 0x5c]
call dword [0x4a6508]
add eax, 5
push eax
lea ecx, [ebp + 0x5c]
call 0x4bf922
mov edi, dword [ebp + 0x5c]
mov ax, word [edi]
cmp ax, 0x61
jb 0x48277a
cmp ax, 0x7a
ja 0x48277a
add word [edi], 0xffe0
xor ebx, ebx
cmp byte [ebp + 0x6e], bl
mov byte [ebp - 6], 0
jne 0x4827cb
cmp dword [ebp + 0x28], ebx
jne 0x4827cb
mov ax, word [edi]
cmp ax, 0x100
jae 0x4827cb
cmp ax, 0x41
jb 0x48279f
cmp ax, 0x5a
jbe 0x4827cb
cmp dword [ebp + 0x1c], ebx
mov word [edi], bx
jl 0x4827b2
mov eax, dword [ebp + 0x64]
cmp eax, 1
jl 0x4827b2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 0x6c], 0
je 0x4827cb
cmp dword [ebp + 0x1c], ebx
jl 0x4827cb
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x4827cb
mov dword [ebp - 0x2c], eax
mov byte [ebp - 6], 1
cmp dword [ebp + 0x14], ebx
je 0x4827da
test byte [ebp + 0x2c], 1
mov byte [ebp + 0x3c], 1
jne 0x4827de
mov byte [ebp + 0x3c], 0
cmp dword [ebp + 0x14], ebx
je 0x4827ed
test byte [ebp + 0x2c], 2
je 0x4827ed
mov byte [ebp + 0x3d], 1
cmp byte [ebp + 0x47], 0
jne 0x482802
cmp dword [ebp + 0x14], ebx
je 0x4827fe
test byte [ebp + 0x2c], 4
jne 0x482802
xor cl, cl
jmp 0x482804
mov cl, 1
mov al, byte [ebp + 0x2c]
and al, 0x10
mov byte [ebp - 0x46], al
mov al, byte [ebp + 0x2c]
and al, 0x40
test byte [ebp + 0x2c], 0x20
mov byte [ebp - 0x45], al
je 0x482821
mov dword [ebp - 0x5c], 1
test cl, cl
je 0x4828f4
mov bl, byte [ebp + 0x61]
movzx eax, bl
shl eax, 2
and word [ebp + eax - 0x1d8], 0
push 0x10
lea esi, [ebp + eax - 0x1d6]
push 0
push esi
call 0x514a48
inc bl
movzx eax, bl
shl eax, 2
mov word [esi], 0xee
and word [ebp + eax - 0x1d8], 0
push 0x10
lea esi, [ebp + eax - 0x1d6]
push 0
push esi
call 0x514a6f
inc bl
movzx eax, bl
shl eax, 2
add ah, byte [esi - 0x39]
push es
out dx, eax
add byte [edx + 0x10], ch
cmp dword [ebp + 0x1c], ebx
mov dword [ebp - 0x4c], ebx
jl 0x482905
cmp dword [ebp + 0x64], ebx
jle 0x482905
mov al, 1
jmp 0x482907
xor al, al
xor esi, esi
inc esi
test al, al
mov dword [ebp - 0x20], ebx
je 0x482914
mov dword [ebp - 0x20], esi
mov ax, word [edi]
push 0x64
lea ecx, [ebp + 0x4c]
mov word [ebp + 4], ax
call 0x4bfae4
call dword [0x4a6254]
cmp byte [ebp + 0x63], 0
mov dword [ebp - 0x44], eax
je 0x482961
cmp byte [ebp + 0x6b], 0
jne 0x482961
mov esi, 0x80070057
lea ecx, [ebp + 0x18]
call 0x4b9b5d
lea ecx, [ebp + 0x4c]
call 0x4b9b65
cmp dword [ebp - 0x1c], ebx
jg 0x48296c
cmp byte [ebp + 0x63], 0
je 0x482994
cmp byte [ebp - 0xcc], 0
movsx ax, byte [ebp + 0x6b]
mov word [ebp - 0x24], ax
je 0x482987
lea eax, [ebp - 0xcc]
mov dword [ebp + 0x20], eax
cmp byte [ebp + 0x63], 0
je 0x482994
mov byte [ebp + 0x6e], 0xc
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 0x14], ebx
jne 0x4829a5
cmp dword [ebp - 0x1c], ebx
jle 0x4829a5
mov byte [ebp + 0x6e], 0xb
mov dword [ebp - 0x1c], ebx
cmp dword [ebp + 0x28], ebx
mov dword [ebp - 0x54], esi
jne fcn.00482bf5
cmp dword [ebp - 0x14], ebx
jle 0x4829c0
cmp byte [ebp + 0x60], 0
jne fcn.00482bf5
invalid
cmp dword [ebp + 0x1c], ebx
mov byte [ebp + 0x27], 1
jl 0x482bf9
mov word [edx + eax], gs
add byte [eax], al
cmp dword [ebp + 0x64], ebx
mov byte [ebp + 0x3b], 1
mov byte [ebp + 0x47], 1
jg 0x4829de
mov byte [ebp + 0x47], 0
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x6e8], ebx
setle al
ror byte [ebp - 0x6e343], 0xff
mov ecx, 0x9c
mov dword [ebp - 0x98], 1
mov dword [ebp + 8], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov byte [ebp + 0x3b], 0
jmp 0x4829da