Function at 0x404940
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x404cbd
push ebx
push edi
cmp eax, 0x7c
je 0x404cbb
cmp eax, 0x29
jne 0x40497d
cmp dword [esi + 0x10], 0
jne 0x404cbb
test dword [esi + 0x50], 0x10000000
je 0x404cca
jmp 0x404c4c
cmp eax, 0x2e
jne 0x404991
push 5
lea ecx, [esi + 0x24]
call fcn.00407090
jmp 0x404c59
cmp eax, 0x5c
jne 0x404a6d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4049e0
cmp word [eax], 0x5c
jne 0x4049db
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x4049d9
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4049c7
movzx edi, word [ecx]
cmp edi, 0x28
je 0x4049db
cmp edi, 0x29
je 0x4049db
test dl, 0x10
jne 0x4049d9
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x4049db
cmp ecx, 0x7d
je 0x4049db
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407450
test byte [esi + 0x50], 0x80
je 0x404a61
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x404a49
push 4
lea ecx, [esi + 0x24]
call fcn.00407090
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x404bf6
cmp word [eax], 0x5c
jne 0x404bf1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404bef
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x404a41
movzx edx, word [ecx]
cmp edx, 0x28
je 0x404bf1
cmp edx, 0x29
je 0x404bf1
test bl, 0x10
jmp 0x404be0
cmp eax, 0x42
jne 0x404a61
push 4
lea ecx, [esi + 0x24]
call fcn.00407090
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x404a00
mov ecx, esi
call fcn.00404cf0
jmp 0x404ca6
cmp eax, 0x5b
jne 0x404b1f
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x404abc
cmp word [eax], 0x5c
jne 0x404ab7
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404ab5
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404aa3
movzx edi, word [ecx]
cmp edi, 0x28
je 0x404ab7
cmp edi, 0x29
je 0x404ab7
test dl, 0x10
jne 0x404ab5
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x404ab7
cmp ecx, 0x7d
je 0x404ab7
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407450
lea ecx, [esi + 0x24]
call fcn.00404000
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x404ae4
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00407110
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x404b02
cmp eax, 0x5d
jne 0x404b02
push eax
lea ecx, [esi + 0x24]
call fcn.00403f70
mov ecx, esi
call fcn.00407110
mov ecx, esi
call fcn.004054a0
cmp dword [esi + 0x4c], 0x5d
jne 0x404cdc
mov ecx, esi
call fcn.00407110
jmp 0x404ca6
cmp eax, 0x28
jne 0x404b98
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x404b6a
cmp word [eax], 0x5c
jne 0x404b65
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404b63
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404b51
movzx edi, word [ecx]
cmp edi, 0x28
je 0x404b65
cmp edi, 0x29
je 0x404b65
test dl, 0x10
jne 0x404b63
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x404b65
cmp ecx, 0x7d
je 0x404b65
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407450
mov ecx, esi
call fcn.004076b0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x404cca
mov ecx, esi
call fcn.00407110
test bl, bl
je 0x404cad
jmp 0x404ca6
cmp eax, 0x5e
jne 0x404ba1
push 2
jmp 0x404ba8
cmp eax, 0x24
jne 0x404c02
push 3
lea ecx, [esi + 0x24]
call fcn.00407090
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x404bf6
cmp word [eax], 0x5c
jne 0x404bf1
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404bef
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404bdd
movzx edi, word [ecx]
cmp edi, 0x28
je 0x404bf1
cmp edi, 0x29
je 0x404bf1
test dl, 0x10
jne 0x404bef
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x404bf1
cmp ecx, 0x7d
je 0x404bf1
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407450
jmp 0x404cad
cmp eax, 0x2a
je 0x404cc1
cmp eax, 0x2b
je 0x404cc1
cmp eax, 0x3f
je 0x404cc1
cmp eax, 0x7b
je 0x404cc1
cmp eax, 0x7d
jne 0x404c3a
test dword [esi + 0x50], 0x10000000
je 0x404cd3
jmp 0x404c4c
cmp eax, 0x5d
jne 0x404c4c
test dword [esi + 0x50], 0x10000000
je 0x404cdc
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00403da0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x404c9f
cmp word [eax], 0x5c
jne 0x404c9a
lea ecx, [eax + 2]
mov eax, ecx
cmp ecx, edx
je 0x404c98
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x404c86
movzx edi, word [ecx]
cmp edi, 0x28
je 0x404c9a
cmp edi, 0x29
je 0x404c9a
test dl, 0x10
jne 0x404c98
movzx ecx, word [ecx]
cmp ecx, 0x7b
je 0x404c9a
cmp ecx, 0x7d
je 0x404c9a
mov eax, dword [esi]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00407450
mov ecx, esi
call fcn.00407160
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x404953
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.004068a0
push 5
mov ecx, esi
call fcn.004068a0
push 6
mov ecx, esi
call fcn.004068a0
push 4
mov ecx, esi
call fcn.004068a0
int3