Function at 0x422da0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
push 0x4b063c
call fcn.00428c20
mov ebx, dword [ebp + 8]
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x422dc1
sub edx, esi
lea edi, [edx + 0x100]
push edi
mov dword [ebp - 0x14], edi
call fcn.0043a304
push edi
mov esi, eax
push 0
push esi
mov dword [ebp + 8], esi
call fcn.0043f7e0
mov cl, byte [ebx]
add esp, 0x10
xor edi, edi
test cl, cl
je 0x423221
cmp cl, 0x3d
jne 0x423211
cmp byte [ebx + 1], 0x3f
jne 0x423211
lea ecx, [ebx + 2]
mov esi, ecx
cmp byte [esi], 0
je 0x422e5b
mov al, byte [esi]
cmp al, 0x20
jle 0x422e5b
cmp al, 0x28
je 0x422e5b
cmp al, 0x29
je 0x422e5b
cmp al, 0x3c
je 0x422e5b
cmp al, 0x3e
je 0x422e5b
cmp al, 0x40
je 0x422e5b
cmp al, 0x2c
je 0x422e5b
cmp al, 0x3b
je 0x422e5b
cmp al, 0x3a
je 0x422e5b
cmp al, 0x22
je 0x422e5b
cmp al, 0x2f
je 0x422e5b
cmp al, 0x5b
je 0x422e5b
cmp al, 0x5d
je 0x422e5b
cmp al, 0x3f
je 0x422e5b
cmp al, 0x2e
je 0x422e5b
cmp al, 0x3d
je 0x422e5b
inc esi
cmp byte [esi], 0
jne 0x422e13
cmp byte [esi], 0x3f
jne 0x423208
mov al, byte [esi + 1]
cmp al, 0x51
je 0x422e73
cmp al, 0x71
jne 0x423033
cmp byte [esi + 2], 0x3f
jne 0x423033
push ecx
mov ecx, dword [ebp - 0xc]
mov byte [esi], 0
call fcn.00423b90
mov byte [esi], 0x3f
mov edx, eax
mov cl, byte [esi + 3]
add esi, 3
mov dword [ebp - 8], edx
mov ebx, edi
mov dword [ebp - 4], ebx
test cl, cl
je 0x422f6a
cmp cl, 0x3f
je 0x422f71
cmp cl, 0x20
jle 0x422f64
cmp cl, 0x3d
jne 0x422f43
movsx eax, byte [esi + 1]
push eax
call fcn.0044d390
add esp, 4
test eax, eax
je 0x422ed8
mov bl, byte [esi + 1]
sub bl, 0x30
jmp 0x422ef4
movsx eax, byte [esi + 1]
push eax
call fcn.0044d3bd
mov bl, byte [esi + 1]
add esp, 4
test eax, eax
je 0x422ef1
sub bl, 0x57
jmp 0x422ef4
sub bl, 0x37
movsx eax, byte [esi + 2]
add esi, 2
push eax
shl bl, 4
call fcn.0044d390
add esp, 4
test eax, eax
je 0x422f19
mov al, byte [esi]
sub al, 0x30
add bl, al
mov eax, dword [ebp + 8]
mov byte [edi + eax], bl
jmp 0x422f57
movsx eax, byte [esi]
push eax
call fcn.0044d3bd
add esp, 4
test eax, eax
mov al, byte [esi]
je 0x422f37
sub al, 0x57
add bl, al
mov eax, dword [ebp + 8]
mov byte [edi + eax], bl
jmp 0x422f57
sub al, 0x37
add bl, al
mov eax, dword [ebp + 8]
mov byte [edi + eax], bl
jmp 0x422f57
movzx eax, cl
cmp cl, 0x5f
mov ecx, 0x20
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
mov cl, byte [esi + 1]
inc esi
inc edi
test cl, cl
jne 0x422ea4
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp byte [esi], 0x3f
jne 0x422f80
jmp 0x422f77
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
cmp byte [esi + 1], 0x3d
jne 0x422f80
add esi, 2
mov eax, dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
add eax, ebx
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043a304
lea ecx, [edi + edi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.0043f7e0
add esp, 0x10
push edi
mov edi, dword [ebp - 4]
add edi, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push dword [ebp - 0x14]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0043a30d
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x422ff8
mov eax, dword [ebp - 4]
sub edi, ecx
add edi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x423014
cmp al, 9
jne 0x423200
cmp byte [esi + 1], 0x3d
lea eax, [esi + 1]
jne 0x423200
cmp byte [esi + 2], 0x3f
cmove esi, eax
lea ebx, [esi - 1]
mov esi, dword [ebp + 8]
jmp 0x423215
cmp al, 0x42
je 0x42303f
cmp al, 0x62
jne 0x423208
cmp byte [esi + 2], 0x3f
jne 0x423208
push ecx
mov ecx, dword [ebp - 0xc]
mov byte [esi], 0
call fcn.00423b90
mov byte [esi], 0x3f
xor ebx, ebx
add esi, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp byte [esi], bl
je 0x42307e
mov cl, byte [esi]
nop dword [eax]
cmp cl, 0x3f
je 0x42307e
mov cl, byte [ebx + esi + 1]
inc ebx
test cl, cl
jne 0x423070
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push esi
call fcn.004227d0
mov edx, eax
add esi, ebx
add esp, 8
mov dword [ebp - 0x18], esi
test edx, edx
je 0x4230c6
mov ebx, dword [ebp - 0x10]
xor ecx, ecx
test ebx, ebx
je 0x4230b4
mov esi, dword [ebp + 8]
mov al, byte [edx + ecx]
inc ecx
mov byte [edi + esi], al
inc edi
cmp ecx, ebx
jb 0x4230a5
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
push edx
mov byte [edi + ebx], 0
call fcn.0043a30d
add esp, 4
jmp 0x4230c9
mov ebx, dword [ebp + 8]
cmp byte [esi], 0x3f
jne 0x4230d7
cmp byte [esi + 1], 0x3d
jne 0x4230d7
add esi, 2
cmp dword [ebp - 4], 0xc42c
jne 0x42315d
mov edx, dword [ebp - 8]
add edx, ebx
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4230f0
sub ecx, edi
cmp ecx, 6
jb 0x42315d
cmp dword [edx], 0x1b42241b
jne 0x42311e
cmp word [edx + 4], 0x4224
je 0x42313e
cmp dword [edx], 0x1b42241b
jne 0x42311e
cmp word [edx + 4], 0x4024
je 0x42313e
cmp dword [edx], 0x1b40241b
jne 0x42315d
cmp word [edx + 4], 0x4224
je 0x42313e
cmp dword [edx], 0x1b40241b
jne 0x42315d
cmp word [edx + 4], 0x4024
jne 0x42315d
lea edi, [edx + 3]
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423146
sub ecx, ebx
lea eax, [ecx + 1]
push eax
push edi
push edx
call fcn.0043f9c0
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043a304
lea ecx, [edi + edi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.0043f7e0
add esp, 0x10
push edi
mov edi, dword [ebp - 8]
add edi, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push dword [ebp - 0x14]
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0043a30d
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4231d8
mov eax, dword [ebp - 8]
sub edi, ecx
add edi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x4231f0
cmp al, 9
jne 0x423200
cmp byte [esi + 1], 0x3d
lea eax, [esi + 1]
jne 0x423200
cmp byte [esi + 2], 0x3f
cmove esi, eax
lea ebx, [esi - 1]
mov esi, dword [ebp + 8]
jmp 0x423215
mov esi, dword [ebp + 8]
mov byte [edi + esi], 0x3d
jmp 0x423214
mov byte [edi + esi], cl
inc edi
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x422df6
mov ecx, dword [ebp + 0xc]
push esi
mov byte [edi + esi], 0
call fcn.00428c20
push esi
call fcn.0043a30d
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8