Function at 0x489910
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 0x489afc
movzx eax, word [esi + 2]
cmp eax, 0x2a
jne 0x489964
add esi, 4
mov dword [esp + 0x10], esi
jmp 0x489afc
cmp eax, 0x3f
je 0x489989
mov eax, edi
inc eax
cmp dword [esp + 0x2c], 0
mov dword [edx], eax
jne 0x48997d
cmp eax, ebx
je 0x489de5
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x489afc
movzx eax, word [esi + 4]
lea ecx, [esi + 4]
cmp eax, 0x7c
jne 0x4899a9
add esi, 6
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], esi
jmp 0x489afc
cmp eax, 0x23
jne 0x4899f3
lea ecx, [esi + 6]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x489ddc
mov edx, eax
cmp dx, 0x29
je 0x489ddc
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x4899c5
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 0x489a41
cmp word [esi + 2], 0x3f
je 0x489afc
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x489af8
cmp dx, 0x29
je 0x489a35
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x489a17
jmp 0x489af8
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x489af8
cmp word [esi], 0x50
jne 0x489a4e
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x3c
jne 0x489a6a
movzx eax, word [esi + 2]
cmp eax, 0x21
je 0x489afc
cmp eax, 0x3d
jne 0x489a73
cmp ecx, 0x27
jne 0x489afc
mov ebp, edi
inc ebp
cmp dword [esp + 0x2c], 0
mov dword [edx], ebp
jne 0x489a83
cmp ebp, ebx
je 0x489ae6
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 0x489ab2
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
cmp eax, edx
jne 0x489aa2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x489af0
sub ecx, edi
sar ecx, 1
cmp ebx, ecx
jne 0x489af0
mov edx, ebx
mov ebx, eax
test edx, edx
jbe 0x489ae6
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 0x489af0
test edx, edx
jne 0x489ad0
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 0x489ddc
mov ebx, dword [esp + 0x34]
nop dword [eax + eax]
movzx eax, word [esi]
cmp eax, 0x5c
jne 0x489b60
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x489ddc
cmp eax, 0x51
jne 0x489c69
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x489ddc
cmp eax, 0x5c
jne 0x489b34
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x489b34
jmp 0x489c69
cmp eax, 0x5b
jne 0x489c88
xor ebp, ebp
nop dword [eax + eax]
movzx eax, word [esi + 2]
lea ecx, [esi + 2]
cmp eax, 0x5c
jne 0x489bbf
cmp word [esi + 4], 0x45
lea edx, [esi + 4]
jne 0x489b8e
mov esi, edx
mov dword [esp + 0x10], esi
jmp 0x489b70
mov edi, 3
mov ebx, 0x4df958
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 0x489be6
test edi, edi
jne 0x489ba0
add esi, 8
mov dword [esp + 0x10], esi
jmp 0x489b70
test ebp, ebp
jne 0x489bd3
cmp eax, 0x5e
jne 0x489bd3
mov esi, ecx
lea ebp, [eax - 0x5d]
mov dword [esp + 0x10], esi
jmp 0x489b70
cmp eax, 0x5d
jne 0x489be6
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 0x489c61
mov ecx, eax
mov edx, esi
nop dword [eax]
test cx, cx
je 0x489de2
cmp cx, 0x5c
jne 0x489c4e
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x489ddc
cmp eax, 0x51
jne 0x489c4e
add esi, 2
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x489ddc
cmp eax, 0x5c
jne 0x489c27
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
cmp word [esi], 0x45
jne 0x489c27
add esi, 2
mov dword [esp + 0x10], esi
mov edx, esi
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x5d
jne 0x489c00
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 0x489ddc
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
jmp 0x489b10
test ebx, ebx
je 0x489d6e
cmp eax, 0x23
jne 0x489d6e
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x489d63
mov edi, esi
mov ebp, esi
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x60]
test edx, edx
je 0x489cf9
mov ebp, eax
mov ecx, dword [ebp + 0x1c]
cmp edi, ecx
lea edi, [ebp + 0x64]
jae 0x489ce5
push 1
push edi
push ecx
mov ecx, esi
call fcn.0049b980
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
test eax, eax
je 0x489ce5
mov eax, 1
jmp 0x489ce7
xor eax, eax
test eax, eax
je 0x489d24
mov eax, dword [edi]
lea esi, [esi + eax*2]
add esi, 0xfffffffe
mov dword [esp + 0x10], esi
jmp 0x489d5f
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 0x489d21
cmp bx, word [ebp + 0x68]
jne 0x489d21
cmp edx, 1
je 0x489ceb
mov ax, word [esi + 2]
cmp ax, word [ebp + 0x6a]
je 0x489ceb
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 0x489d4b
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 0x489cb2
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
cmp word [esi], 0
je 0x489ddc
jmp 0x489c69
cmp eax, 0x28
jne 0x489da0
push edx
push 1
push ebx
push dword [esp + 0x3c]
mov edx, ebp
lea ecx, [esp + 0x20]
push dword [esp + 0x3c]
call fcn.00489910
add esp, 0x14
test eax, eax
jg 0x489de5
mov esi, dword [esp + 0x10]
cmp word [esi], 0
je 0x489ddc
jmp 0x489c69
cmp eax, 0x29
je 0x489dcf
cmp eax, 0x7c
jne 0x489c69
cmp dword [esp + 0x20], 0
je 0x489c69
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 0x489c69
cmp dword [esp + 0x20], 0
je 0x489ddc
cmp dword [edx], edi
jge 0x489ddc
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