Function at 0x412d2d
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push eax
mov ecx, 2
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x412d37
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov word [ebp + 0xc], di
mov word [ebp - 4], 0
dec word [ebp + 0xc]
cmp byte [0x4b795c], 0x47
jne 0x412da3
call fcn.004112f6
mov edi, eax
mov word [ebp - 2], di
mov di, word [ebp - 4]
cmp di, word [ebp + 0xc]
jae 0x412d8b
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov bx, word [ebp - 2]
mov word [esi + edi*2], bx
movzx edi, word [ebp - 2]
cmp edi, 0
jle 0x412d9e
cmp edi, 0xd
je 0x412d9e
cmp edi, 0xa
jne 0x412d5e
jmp 0x41334c
call fcn.004112f6
mov edi, eax
mov word [ebp - 2], di
cmp dword [0x4a248c], 0
je 0x412dc1
mov eax, 0
jmp 0x41335d
movzx edi, word [ebp - 2]
test byte [edi + str._________h______________________H], 4
jne 0x412de7
cmp edi, 0x2d
je 0x412de7
cmp edi, 0x2b
je 0x412de7
cmp edi, 0x24
je 0x412de7
cmp edi, 0x25
jne 0x412fac
cmp word [ebp - 2], 0x2d
jne 0x412e15
call fcn.00410d8a
mov ebx, eax
and ebx, 0xff
mov edi, ebx
mov word [ebp - 2], di
call fcn.004119e1
mov esi, 0x10000
sub esi, eax
mov edi, esi
mov word [ebp - 6], di
jmp 0x412e20
call fcn.004119e1
mov edi, eax
mov word [ebp - 6], di
movzx ebx, byte [0x4b795c]
cmp ebx, 0x53
je 0x412e31
cmp ebx, 0x54
jne 0x412e8b
movzx ebx, byte [0x4b795c]
push ebx
movzx edi, word [ebp - 6]
push edi
call fcn.004126a3
add esp, 8
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp + 0xc]
push edi
movzx edi, word [ebp - 4]
push edi
movzx edi, word [ebp - 6]
push edi
push dword [ebp + 8]
call fcn.00412c72
add esp, 0x10
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp - 4]
movzx esi, word [ebp - 6]
add edi, esi
mov word [ebp - 4], di
mov bl, byte [0x4be498]
mov byte [0x4b795c], bl
jmp 0x412f5c
cmp byte [0x4b795c], 0x58
jne 0x412ed3
movzx edi, word [ebp + 0xc]
push edi
movzx edi, word [ebp - 4]
push edi
movzx edi, word [ebp - 6]
push edi
push dword [ebp + 8]
call fcn.00412b49
add esp, 0x10
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp - 4]
movzx esi, word [ebp - 6]
add edi, esi
mov word [ebp - 4], di
mov bl, byte [0x4be498]
mov byte [0x4b795c], bl
jmp 0x412f5c
cmp byte [0x4b795c], 0x41
jne 0x412ef5
mov di, word [ebp - 6]
mov word [0x4b6894], di
mov bl, byte [0x4be498]
mov byte [0x4b795c], bl
jmp 0x412f5c
cmp byte [0x4b795c], 0x49
jne 0x412f3a
movzx edi, word [ebp + 0xc]
push edi
movzx edi, word [ebp - 4]
push edi
movzx edi, word [ebp - 6]
push edi
push dword [ebp + 8]
call fcn.004129f2
add esp, 0x10
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp - 4]
movzx esi, word [ebp - 6]
add edi, esi
mov word [ebp - 4], di
mov bl, byte [0x4be498]
mov byte [0x4b795c], bl
jmp 0x412f5c
mov di, word [ebp - 4]
cmp di, word [ebp + 0xc]
jae 0x412f5c
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov bx, word [ebp - 6]
mov word [esi + edi*2], bx
movzx edi, word [0x4b7960]
cmp edi, 0x3b
je 0x412f6d
cmp edi, 0x3a
jne 0x412f7b
mov word [0x4b7960], 0x2c
jmp 0x41334c
mov di, word [0x4b7960]
mov word [ebp - 2], di
movzx edi, word [0x4b7960]
cmp edi, 0x20
jl 0x412f99
mov ebx, 1
jmp 0x412f9e
mov ebx, 0
mov edi, ebx
mov word [0x4b6890], di
jmp 0x41333f
cmp word [ebp - 2], 0x3f
jne 0x412fe3
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
call fcn.004112f6
mov ebx, dword [ebp + 8]
mov esi, eax
mov word [ebx + edi*2], si
mov word [0x4b7960], 0x2c
mov byte [0x4b7964], 1
jmp 0x41333f
movzx edi, word [ebp - 2]
cmp edi, 0x22
je 0x412ff5
cmp edi, 0x27
jne 0x413126
mov byte [0x4b7964], 0
mov di, word [ebp - 2]
mov word [ebp - 6], di
call fcn.004112f6
mov edi, eax
mov word [ebp - 2], di
jmp 0x413105
cmp word [ebp - 2], 0x7c
jne 0x413026
mov word [ebp - 2], 0xa
jmp 0x4130d8
cmp word [ebp - 2], 0x5c
jne 0x4130d8
cmp byte [ebp + 0x10], 2
jne 0x413042
mov word [ebp - 2], 0x2f
jmp 0x4130d8
call fcn.004112f6
mov edi, eax
mov word [ebp - 2], di
cmp byte [ebp + 0x10], 1
jne 0x41307d
movzx edi, word [ebp - 2]
test byte [edi + str._________h______________________H], 4
je 0x413068
sub word [ebp - 2], 0x30
jmp 0x4130d8
movzx edi, word [ebp - 2]
test byte [edi + str._________h______________________H], 1
je 0x4130d8
sub word [ebp - 2], 0x37
jmp 0x4130d8
cmp word [ebp - 2], 0x22
jne 0x41308c
mov word [ebp - 2], 0x22
jmp 0x4130d8
cmp word [ebp - 2], 0x6e
jne 0x41309b
mov word [ebp - 2], 0xa
jmp 0x4130d8
cmp word [ebp - 2], 0x72
jne 0x4130aa
mov word [ebp - 2], 0xd
jmp 0x4130d8
movzx edi, word [ebp - 2]
cmp edi, 0x7c
je 0x4130d8
cmp edi, 0x5c
je 0x4130d8
mov di, word [ebp - 4]
cmp di, word [ebp + 0xc]
jae 0x4130d8
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov word [esi + edi*2], 0x5c
mov di, word [ebp - 4]
cmp di, word [ebp + 0xc]
jae 0x4130fa
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov bx, word [ebp - 2]
mov word [esi + edi*2], bx
call fcn.004112f6
mov edi, eax
mov word [ebp - 2], di
movzx edi, word [ebp - 2]
movzx esi, word [ebp - 6]
cmp edi, esi
je 0x41311a
cmp edi, 0x20
jge 0x413014
mov byte [0x4b7964], 1
jmp 0x41333f
cmp word [ebp - 2], 0x3c
jne 0x41319e
mov byte [0x4b7964], 0
jmp 0x413175
cmp word [ebp - 2], 0x5c
jne 0x413143
mov word [ebp - 2], 0x2f
movzx edi, word [ebp - 4]
movzx esi, word [ebp + 0xc]
sub esi, 1
cmp edi, esi
jge 0x41316a
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov bx, word [ebp - 2]
mov word [esi + edi*2], bx
call fcn.004112f6
mov edi, eax
mov word [ebp - 2], di
cmp word [ebp - 2], 0x3e
jne 0x413136
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov word [esi + edi*2], 0x3e
mov byte [0x4b7964], 1
jmp 0x41334c
cmp word [ebp - 2], 0x28
jne 0x413326
push 0
call fcn.00411673
add esp, 4
push 0x4be390
call fcn.00468832
add esp, 4
mov edi, eax
mov word [ebp - 6], di
movzx ebx, byte [0x4be498]
cmp ebx, 0x53
je 0x4131d7
cmp ebx, 0x54
jne 0x41322c
movzx ebx, byte [0x4be498]
push ebx
movzx edi, word [ebp - 6]
push edi
call fcn.004126a3
add esp, 8
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp + 0xc]
push edi
movzx edi, word [ebp - 4]
push edi
movzx edi, word [ebp - 6]
push edi
push dword [ebp + 8]
call fcn.00412c72
add esp, 0x10
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp - 4]
movzx esi, word [ebp - 6]
add edi, esi
mov word [ebp - 4], di
mov byte [0x4be498], 0
jmp 0x41333f
cmp byte [0x4be498], 0x58
jne 0x41326f
movzx edi, word [ebp + 0xc]
push edi
movzx edi, word [ebp - 4]
push edi
movzx edi, word [ebp - 6]
push edi
push dword [ebp + 8]
call fcn.00412b49
add esp, 0x10
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp - 4]
movzx esi, word [ebp - 6]
add edi, esi
mov word [ebp - 4], di
mov byte [0x4be498], 0
jmp 0x41333f
cmp byte [0x4be498], 0x41
jne 0x41328f
mov di, word [ebp - 6]
mov word [0x4b6894], di
mov byte [0x4be498], 0
jmp 0x41333f
cmp byte [0x4be498], 0x49
jne 0x4132cf
movzx edi, word [ebp + 0xc]
push edi
movzx edi, word [ebp - 4]
push edi
movzx edi, word [ebp - 6]
push edi
push dword [ebp + 8]
call fcn.004129f2
add esp, 0x10
mov edi, eax
mov word [ebp - 6], di
movzx edi, word [ebp - 4]
movzx esi, word [ebp - 6]
add edi, esi
mov word [ebp - 4], di
mov byte [0x4be498], 0
jmp 0x41333f
movzx ebx, byte [0x4be498]
cmp ebx, 0x52
je 0x4132e0
cmp ebx, 0x51
jne 0x413302
movzx ebx, byte [0x4be498]
push ebx
movzx edi, word [ebp - 6]
push edi
call fcn.0041195f
add esp, 8
mov edi, eax
mov word [ebp - 6], di
mov byte [0x4be498], 0
mov di, word [ebp - 4]
cmp di, word [ebp + 0xc]
jae 0x41333f
movzx edi, word [ebp - 4]
mov esi, edi
add esi, 1
mov word [ebp - 4], si
mov esi, dword [ebp + 8]
mov bx, word [ebp - 6]
mov word [esi + edi*2], bx
jmp 0x41333f
movzx edi, word [ebp - 2]
cmp edi, 0x3b
je 0x413334
cmp edi, 0x3a
jne 0x41333f
mov word [0x4b7960], 0x2c
jmp 0x41334c
movzx edi, word [ebp - 2]
cmp edi, 0x20
jge 0x412da3
movzx edi, word [ebp - 4]
mov esi, dword [ebp + 8]
mov word [esi + edi*2], 0
movzx eax, word [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret