Function at 0x417d4a
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49e004]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov al, byte [eax + 0x10]
cmp al, 8
jne 0x417d70
cmp dword [0x49e000], ecx
jne 0x417d70
mov edx, ecx
mov dword [ebp - 8], ecx
jmp 0x417d76
xor edx, edx
inc edx
mov dword [ebp - 8], edx
push ebx
xor ebx, ebx
cmp al, 0xe
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sete bl
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0x10]
mov byte [eax], cl
cmp dword [esi], ebx
jb 0x417d99
push 0xf
pop eax
jmp 0x417f59
mov eax, dword [0x49e004]
push edi
push 0x27
pop edi
cmp dword [eax + 0x19], ecx
je 0x417deb
test edx, edx
je 0x417deb
push dword [esi]
push dword [esi]
call fcn.004079b0
cmp ax, di
je 0x417deb
push 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x49e004]
push dword [eax + 0x19]
push dword [eax + 0x15]
push dword [esi]
call fcn.0041778b
mov ecx, eax
mov dword [ebp - 4], eax
push 2
pop edi
sub ecx, 1
je 0x417e45
sub ecx, edi
je 0x417e1a
sub ecx, 1
je 0x417e45
push dword [esi]
push dword [esi]
call fcn.004079b0
mov edx, dword [0x49e004]
movzx ecx, byte [edx + 0x35]
cmp ax, cx
jne 0x417eb8
inc dword [esi]
mov eax, dword [0x49e004]
push ebx
push esi
movzx eax, byte [eax + 0x35]
push eax
jmp 0x41877e
mov eax, dword [ebp + 8]
add dword [esi], eax
mov edi, dword [ebp - 0xc]
cmp ebx, dword [esi]
jbe 0x417e38
push esi
push dword [esi]
call fcn.004152c0
movzx ecx, byte [edi]
cmp ax, cx
jne 0x417e22
cmp ebx, dword [esi]
sbb eax, eax
and eax, 0xfffffffa
add eax, 6
jmp 0x417f58
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x18], ecx
push eax
push eax
mov dword [esi], eax
call fcn.004079b0
push 0x2d
pop ecx
cmp ax, cx
jne 0x417e62
inc dword [esi]
cmp dword [ebp - 4], 4
push ebx
push esi
jne 0x417e71
call fcn.00417b14
jmp 0x417e76
call fcn.00418790
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x417ea7
push dword [esi]
mov al, byte [eax]
push dword [esi]
mov byte [ebp + 0xb], al
call fcn.004079b0
mov dl, byte [ebp + 0xb]
movzx ecx, dl
cmp ax, cx
je 0x417ea1
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
jmp 0x417deb
test dl, dl
je 0x417ea7
inc dword [esi]
cmp dword [ebp - 4], 4
push 0x12
pop eax
cmove edi, eax
mov eax, edi
jmp 0x417f58
cmp dword [0x49e014], 0
jne 0x41850a
test byte [edx + 8], 0x60
je 0x41850a
imul ecx, dword [0x49e01c], 6
mov eax, dword [0x49e024]
mov al, byte [ecx + eax - 5]
cmp al, 0x22
je 0x41850a
cmp al, 0x21
je 0x41850a
cmp dword [0x49e1e0], 0
je 0x417f09
mov eax, dword [esi]
push esi
push eax
mov dword [ebp - 0x10], eax
call fcn.004152c0
movzx edi, ax
jmp 0x417f13
mov ecx, dword [esi]
movzx edi, byte [ecx]
lea eax, [ecx + 1]
mov dword [esi], eax
movzx ecx, di
cmp ecx, 0x23
jg 0x417fe0
je 0x417fc9
push 9
pop eax
cmp ecx, eax
jl 0x41800b
cmp ecx, 0xa
jle 0x417f71
cmp ecx, 0xd
je 0x417f71
cmp ecx, 0x20
je 0x417f71
cmp ecx, 0x21
je 0x417f61
cmp ecx, 0x22
jne 0x41800b
push ebx
push dword [ebp + 0xc]
push esi
push edi
call fcn.004189c9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
cmp byte [eax], 0x3d
je 0x4184a1
jmp 0x41800b
cmp dword [esi], ebx
jae 0x41857a
push 0x20
pop edi
push dword [esi]
push dword [esi]
call fcn.004079b0
movzx eax, ax
cmp ax, di
je 0x417fa9
push 9
pop ecx
cmp ax, cx
je 0x417fa9
push 0xa
pop ecx
cmp ax, cx
je 0x417fa9
push 0xd
pop ecx
cmp ax, cx
jne 0x41857a
cmp dword [0x49e1e0], 0
mov eax, dword [esi]
je 0x417fbd
push eax
push eax
call fcn.0048e3b0
jmp 0x417fbe
inc eax
mov dword [esi], eax
cmp eax, ebx
jb 0x417f7c
jmp 0x41857a
cmp dword [ebp - 8], 0
jne 0x418397
push ebx
push esi
push edi
call fcn.00417977
jmp 0x417f58
push 0x27
pop eax
cmp ecx, eax
je 0x417f4d
cmp ecx, 0x28
je 0x4184a1
cmp ecx, 0x3b
jle 0x41800b
cmp ecx, 0x3e
jle 0x4184a1
cmp ecx, 0x5b
je 0x41877a
mov eax, dword [0x49e004]
test byte [eax + 8], 0x40
je 0x418369
cmp ecx, 0x23
je 0x418397
cmp ecx, 0x7b
je 0x418394
cmp dword [0x49e1e0], 0
je 0x418046
mov eax, dword [ebp - 0x10]
push eax
push eax
mov dword [esi], eax
call fcn.004079b0
movzx edi, ax
jmp 0x41804d
dec dword [esi]
mov eax, dword [esi]
movzx edi, byte [eax]
cmp dword [0x49e1e0], 0
mov dword [ebp - 0xc], edi
je 0x418061
push edi
call fcn.0048e38d
jmp 0x418063
xor eax, eax
test eax, eax
jne 0x4180aa
cmp dword [0x49e1e0], eax
je 0x418083
call fcn.0048e21d
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
jmp 0x418085
xor ecx, ecx
test ecx, ecx
je 0x41809b
mov eax, 0xa0
cmp di, ax
jb 0x41809b
add eax, 0x3f
cmp di, ax
jbe 0x4180aa
push edi
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x418337
mov eax, ebx
sub eax, dword [esi]
mov dword [ebp - 4], eax
cmp eax, 3
jl 0x418337
push dword [0x49e008]
push eax
push dword [esi]
lea eax, [ebp - 0x24]
push eax
call fcn.0041983f
test dword [ebp - 0x24], 0x7fff
jne 0x41834b
cmp dword [ebp - 4], 3
jl 0x418337
mov ebx, dword [ebp - 4]
xor edi, edi
cmp dword [0x49e1e0], edi
je 0x418118
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, dword [esi]
sub ecx, eax
mov dword [ebp + 8], eax
add ecx, ebx
push ecx
push dword [esi]
call fcn.004079b0
movzx ecx, ax
push ecx
call fcn.0048e38d
jmp 0x41811a
mov eax, edi
test eax, eax
jne 0x4181ed
cmp dword [0x49e1e0], edi
je 0x41813e
call fcn.0048e21d
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
jmp 0x418140
mov ecx, edi
test ecx, ecx
je 0x4181b0
cmp dword [0x49e1e0], edi
je 0x41815c
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, eax
jmp 0x41815f
xor ecx, ecx
inc ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
mov ecx, 0xa0
cmp ax, cx
jb 0x4181b0
cmp dword [0x49e1e0], edi
je 0x418192
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x418198
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
mov ecx, 0xdf
cmp ax, cx
jbe 0x4181ed
cmp dword [0x49e1e0], edi
je 0x4181cb
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x4181d1
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
je 0x4181f9
sub ebx, dword [ebp + 8]
cmp ebx, 3
jge 0x4180e8
mov edi, dword [ebp - 0xc]
cmp ebx, 3
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
jl 0x418337
mov ebx, dword [ebp - 4]
xor edi, edi
cmp dword [0x49e1e0], edi
je 0x418241
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov dword [ebp + 8], eax
mov eax, dword [esi]
sub eax, dword [ebp + 8]
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
movzx eax, ax
push eax
call fcn.0048e38d
jmp 0x418243
mov eax, edi
test eax, eax
jne 0x418322
cmp dword [0x49e1e0], edi
je 0x418267
call fcn.0048e21d
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
jmp 0x418269
mov ecx, edi
test ecx, ecx
je 0x4182d9
cmp dword [0x49e1e0], edi
je 0x418285
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, eax
jmp 0x418288
xor ecx, ecx
inc ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
mov ecx, 0xa0
cmp ax, cx
jb 0x4182d9
cmp dword [0x49e1e0], edi
je 0x4182bb
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x4182c1
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
mov ecx, 0xdf
cmp ax, cx
jbe 0x418322
cmp dword [0x49e1e0], edi
je 0x4182f4
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call fcn.0048e32e
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x4182fa
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004079b0
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
jne 0x418322
sub ebx, dword [ebp + 8]
cmp ebx, 3
jge 0x418210
mov edi, dword [ebp - 0xc]
cmp ebx, 3
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
jge 0x4180ba
cmp dword [0x49e1e0], 0
mov eax, dword [esi]
je 0x418357
push eax
push eax
call fcn.0048e3b0
jmp 0x418358
mov eax, dword [ebp - 4]
add dword [esi], eax
push 6
jmp 0x41878a
inc eax
mov dword [esi], eax
mov eax, dword [0x49e004]
test byte [eax + 8], 0x20
je 0x4185a5
cmp dword [ebp - 0x14], 0
push 0x30
pop eax
push 0x39
pop ecx
je 0x4183f2
cmp di, ax
jb 0x418383
cmp di, cx
jbe 0x418667
cmp dword [0x49e1e0], 0
je 0x4183a4
push edi
call fcn.0048e38d
jmp 0x4183a6
push 0x7d
pop edi
push ebx
push esi
push edi
call fcn.00417c42
jmp 0x417f58
xor eax, eax
test eax, eax
movzx eax, di
mov dword [ebp + 0x10], eax
jne 0x4183ba
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movzx eax, al
cmp eax, 0x41
jl 0x4183ec
cmp dword [0x49e1e0], 0
je 0x4183d0
push edi
call fcn.0048e38d
jmp 0x4183d2
xor eax, eax
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x4183e3
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movzx eax, al
cmp eax, 0x46
jle 0x418667
push 0x30
pop eax
push 0x39
pop ecx
cmp dword [ebp - 8], 0
je 0x418447
cmp di, ax
jb 0x418406
cmp di, cx
jbe 0x418680
mov eax, dword [0x49e008]
movzx eax, byte [eax + 5]
cmp di, ax
je 0x418420
push 0x2d
pop eax
cmp di, ax
jne 0x4184a1
push dword [esi]
push dword [esi]
call fcn.004079b0
push 0x30
pop ecx
cmp ax, cx
jb 0x4184a1
push dword [esi]
push dword [esi]
call fcn.004079b0
push 0x39
pop ecx
cmp ax, cx
ja 0x4184a1
jmp 0x418680
cmp dword [0x49e1e0], 0
je 0x41845a
push edi
call fcn.0048e38d
xor ecx, ecx
jmp 0x41845e
xor ecx, ecx
mov eax, ecx
test eax, eax
jne 0x4184a1
cmp dword [0x49e1e0], eax
je 0x41847c
call fcn.0048e21d
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
test ecx, ecx
je 0x418492
mov eax, 0xa0
cmp di, ax
jb 0x418492
add eax, 0x3f
cmp di, ax
jbe 0x4184a1
push edi
call dword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
je 0x417fd3
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.004188b4
mov edx, eax
test edx, edx
je 0x417fd3
mov eax, dword [ebp + 0xc]
cmp edx, 0xd
jne 0x4184ea
mov cl, byte [eax]
cmp cl, 5
jb 0x4184d2
cmp cl, 0x10
jb 0x4184ea
cmp dword [ebp - 8], 0
je 0x417fd3
cmp cl, 0x12
je 0x4184ea
cmp cl, 0x11
jne 0x417fd3
cmp dword [ebp - 8], 0
jne 0x4184fe
cmp edx, 0xa
jne 0x4184fe
cmp byte [eax], 0x23
jne 0x417fd3
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, edx
jmp 0x417f58
push esi
push dword [esi]
call fcn.004152c0
movzx edi, ax
movzx eax, di
cmp eax, 0x23
jg 0x418581
je 0x41875f
push 9
pop ecx
cmp eax, ecx
jl 0x4185a5
cmp eax, 0xa
jle 0x418544
cmp eax, 0xd
je 0x418544
cmp eax, 0x20
je 0x418544
cmp eax, 0x22
je 0x417f4d
jmp 0x4185a5
cmp dword [esi], ebx
jae 0x41857a
push 0x20
pop edi
push dword [esi]
push dword [esi]
call fcn.004079b0
movzx eax, ax
cmp ax, di
je 0x418574
push 9
pop ecx
cmp ax, cx
je 0x418574
push 0xa
pop ecx
cmp ax, cx
je 0x418574
push 0xd
pop ecx
cmp ax, cx
jne 0x41857a
inc dword [esi]
cmp dword [esi], ebx
jb 0x41854b
push 0x10
jmp 0x41878a
cmp eax, 0x27
je 0x417f4d
cmp eax, 0x3f
je 0x418788
cmp eax, 0x5b
je 0x41877a
cmp eax, 0x7b
je 0x41870c
cmp dword [0x49e014], 0
jne 0x4185ea
mov eax, dword [0x49e008]
movzx eax, byte [eax + 5]
cmp di, ax
je 0x4185c4
push 0x2d
pop eax
cmp di, ax
jne 0x4185ea
push dword [esi]
push dword [esi]
call fcn.004079b0
push 0x30
pop ecx
cmp ax, cx
jb 0x4185ea
push dword [esi]
push dword [esi]
call fcn.004079b0
push 0x39
pop ecx
cmp ax, cx
jbe 0x418680
push ebx
push dword [ebp + 0xc]
push esi
push edi
call fcn.004188b4
test eax, eax
jne 0x417f58
cmp dword [ebp - 0x14], eax
je 0x418675
push 0x30
pop eax
cmp di, ax
jb 0x418612
push 0x39
pop eax
cmp di, ax
jbe 0x418667
cmp dword [0x49e1e0], 0
je 0x418623
push edi
call fcn.0048e38d
jmp 0x418625
xor eax, eax
test eax, eax
movzx eax, di
mov dword [ebp + 0xc], eax
jne 0x418639
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movzx eax, al
cmp eax, 0x41
jl 0x418675
cmp dword [0x49e1e0], 0
je 0x41864f
push edi
call fcn.0048e38d
jmp 0x418651
xor eax, eax
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x418662
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movzx eax, al
cmp eax, 0x46
jg 0x418675
dec dword [esi]
push ebx
push esi
call fcn.00417b14
jmp 0x417f58
push 9
lea eax, [edi - 0x30]
pop ecx
cmp ax, cx
ja 0x41868c
push ebx
push esi
call fcn.00418790
jmp 0x417f58
cmp dword [0x49e1e0], 0
je 0x41869f
push edi
call fcn.0048e38d
xor ecx, ecx
jmp 0x4186a3
xor ecx, ecx
mov eax, ecx
test eax, eax
jne 0x4186fc
cmp dword [0x49e1e0], eax
je 0x4186c1
call fcn.0048e21d
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
test ecx, ecx
je 0x4186d7
mov eax, 0xa0
cmp di, ax
jb 0x4186d7
add eax, 0x3f
cmp di, ax
jbe 0x4186fc
push edi
call dword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
jne 0x4186fc
mov eax, dword [0x49e008]
push 0x11
movzx ecx, byte [eax + 0x19]
pop eax
push 7
cmp di, cx
pop edx
cmove eax, edx
jmp 0x417f58
push ebx
push esi
movzx eax, di
push eax
call fcn.00417c7c
jmp 0x417f58
push dword [esi]
push dword [esi]
call fcn.004079b0
cmp ax, 0x74
je 0x41872f
push dword [esi]
push dword [esi]
call fcn.004079b0
cmp ax, 0x64
je 0x41872f
push 0x7d
pop edi
jmp 0x41875f
push esi
push dword [esi]
call fcn.00418b51
cmp ax, 0x73
jne 0x41873f
inc dword [esi]
mov eax, dword [esi]
cmp byte [eax], 0x20
jne 0x418749
inc eax
mov dword [esi], eax
push esi
push dword [esi]
call fcn.004152c0
push 0x27
pop ecx
cmp ax, cx
je 0x41875d
push 0x11
jmp 0x41878a
mov edi, ecx
push ebx
push esi
push edi
call fcn.00417c42
push 0x27
pop ecx
cmp di, cx
jne 0x417f58
inc dword [esi]
jmp 0x417f58
push ebx
push esi
push 0x5d
call fcn.00417c01
jmp 0x417f58
push 0x13
pop eax
jmp 0x417f58