Function at 0x488f50
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
mov eax, ecx
push ebp
mov ebp, edx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x34]
push esi
mov esi, dword [eax]
push edi
mov eax, dword [edx]
mov edi, eax
mov dword [esp + 0x10], esi
cmp word [esi], 0x28
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0
jne 0x48913c
movzx eax, word [esi + 2]
cmp eax, 0x2a
jne 0x488fa4
add esi, 4
mov dword [esp + 0x10], esi
jmp 0x48913c
cmp eax, 0x3f
je 0x488fc9
mov eax, edi
inc eax
cmp dword [esp + 0x2c], 0
mov dword [edx], eax
jne 0x488fbd
cmp eax, ebx
je 0x489425
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x48913c
movzx eax, word [esi + 4]
lea ecx, [esi + 4]
cmp eax, 0x7c
jne 0x488fe9
add esi, 6
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], esi
jmp 0x48913c
cmp eax, 0x23
jne 0x489033
lea ecx, [esi + 6]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x48941c
mov edx, eax
cmp dx, 0x29
je 0x48941c
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x489005
mov eax, dword [esp + 0x24]
pop edi
mov dword [eax], esi
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov esi, ecx
mov dword [esp + 0x10], esi
cmp eax, 0x28
jne 0x489081
cmp word [esi + 2], 0x3f
je 0x48913c
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x489138
cmp dx, 0x29
je 0x489075
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x489057
jmp 0x489138
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x489138
cmp word [esi], 0x50
jne 0x48908e
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x3c
jne 0x4890aa
movzx eax, word [esi + 2]
cmp eax, 0x21
je 0x48913c
cmp eax, 0x3d
jne 0x4890b3
cmp ecx, 0x27
jne 0x48913c
mov ebp, edi
inc ebp
cmp dword [esp + 0x2c], 0
mov dword [edx], ebp
jne 0x4890c3
cmp ebp, ebx
je 0x489126
add esi, 2
mov edx, ecx
cmp edx, 0x3c
mov dword [esp + 0x10], esi
mov eax, 0x3e
mov edi, esi
cmove edx, eax
mov ecx, edi
movzx eax, word [esi]
cmp eax, edx
je 0x4890f2
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
cmp eax, edx
jne 0x4890e2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x489130
sub ecx, edi
sar ecx, 1
cmp ebx, ecx
jne 0x489130
mov edx, ebx
mov ebx, eax
test edx, edx
jbe 0x489126
nop word [eax + eax]
movzx ecx, word [ebx]
lea ebx, [ebx + 2]
movzx eax, word [edi]
lea edi, [edi + 2]
dec edx
cmp cx, ax
jne 0x489130
test edx, edx
jne 0x489110
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x1c]
cmp esi, ecx
jae 0x48941c
mov ebx, dword [esp + 0x34]
nop dword [eax + eax]
movzx eax, word [esi]
cmp eax, 0x5c
jne 0x4891a0
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x48941c
cmp eax, 0x51
jne 0x4892a9
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x48941c
cmp eax, 0x5c
jne 0x489174
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x489174
jmp 0x4892a9
cmp eax, 0x5b
jne 0x4892c8
xor ebp, ebp
nop dword [eax + eax]
movzx eax, word [esi + 2]
lea ecx, [esi + 2]
cmp eax, 0x5c
jne 0x4891ff
cmp word [esi + 4], 0x45
lea edx, [esi + 4]
jne 0x4891ce
mov esi, edx
mov dword [esp + 0x10], esi
jmp 0x4891b0
mov edi, 3
mov ebx, 0x4dc824
nop dword [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec edi
cmp cx, ax
jne 0x489226
test edi, edi
jne 0x4891e0
add esi, 8
mov dword [esp + 0x10], esi
jmp 0x4891b0
test ebp, ebp
jne 0x489213
cmp eax, 0x5e
jne 0x489213
mov esi, ecx
lea ebp, [eax - 0x5d]
mov dword [esp + 0x10], esi
jmp 0x4891b0
cmp eax, 0x5d
jne 0x489226
mov eax, dword [esp + 0x14]
test dword [eax + 0x4c], 0x2000000
cmove esi, ecx
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x5d
je 0x4892a1
mov ecx, eax
mov edx, esi
nop dword [eax]
test cx, cx
je 0x489422
cmp cx, 0x5c
jne 0x48928e
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x48941c
cmp eax, 0x51
jne 0x48928e
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x48941c
cmp eax, 0x5c
jne 0x489267
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x489267
add esi, 2
mov dword [esp + 0x10], esi
mov edx, esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x5d
jne 0x489240
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1c]
add esi, 2
mov dword [esp + 0x10], esi
cmp esi, ecx
jae 0x48941c
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x489150
test ebx, ebx
je 0x4893ae
cmp eax, 0x23
jne 0x4893ae
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4893a3
mov edi, esi
mov ebp, esi
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x60]
test edx, edx
je 0x489339
mov ebp, eax
mov ecx, dword [ebp + 0x1c]
cmp edi, ecx
lea edi, [ebp + 0x64]
jae 0x489325
push 1
push edi
push ecx
mov ecx, esi
call fcn.0049b350
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
test eax, eax
je 0x489325
mov eax, 1
jmp 0x489327
xor eax, eax
test eax, eax
je 0x489364
mov eax, dword [edi]
lea esi, [esi + eax*2]
add esi, 0xfffffffe
mov dword [esp + 0x10], esi
jmp 0x48939f
mov edx, dword [eax + 0x64]
lea edi, [eax + 0x64]
lea eax, [edx + edx]
sub ecx, eax
cmp ebp, ecx
mov ebp, dword [esp + 0x14]
ja 0x489361
cmp bx, word [ebp + 0x68]
jne 0x489361
cmp edx, 1
je 0x48932b
mov ax, word [esi + 2]
cmp ax, word [ebp + 0x6a]
je 0x48932b
mov ecx, dword [ebp + 0x1c]
add esi, 2
mov edx, 0xfc00
mov dword [esp + 0x10], esi
mov edi, esi
mov ax, word [esi]
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x48938b
lea esi, [edi + 2]
mov dword [esp + 0x10], esi
mov edi, esi
movzx eax, word [esi]
mov ebp, edi
mov ebx, eax
test ax, ax
jne 0x4892f2
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
cmp word [esi], 0
je 0x48941c
jmp 0x4892a9
cmp eax, 0x28
jne 0x4893e0
push edx
push 1
push ebx
push dword [esp + 0x3c]
mov edx, ebp
lea ecx, [esp + 0x20]
push dword [esp + 0x3c]
call fcn.00488f50
add esp, 0x14
test eax, eax
jg 0x489425
mov esi, dword [esp + 0x10]
cmp word [esi], 0
je 0x48941c
jmp 0x4892a9
cmp eax, 0x29
je 0x48940f
cmp eax, 0x7c
jne 0x4892a9
cmp dword [esp + 0x20], 0
je 0x4892a9
mov eax, dword [edx]
cmp eax, edi
mov ecx, dword [esp + 0x1c]
cmovle eax, edi
mov dword [edx], ecx
mov dword [esp + 0x18], eax
jmp 0x4892a9
cmp dword [esp + 0x20], 0
je 0x48941c
cmp dword [edx], edi
jge 0x48941c
mov dword [edx], edi
mov eax, dword [esp + 0x24]
mov dword [eax], esi
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret