Function at 0x41dd70
Capabilities:
Parse credit card information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
cmp edi, 0x24
ja 0x41e200
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x41e1f7
mov ebx, esi
lea esi, [esi]
lea edi, [edi]
movzx edx, byte [ebx]
mov ecx, dword [sym.imp.msvcrt.dll___mb_cur_max]
cmp dword [ecx], 1
je 0x41e1e0
mov dword [esp + 4], 8
mov dword [esp], edx
call sub.msvcrt.dll__isctype
test eax, eax
je 0x41ddc9
inc ebx
jmp 0x41dda0
cmp byte [ebx], 0x2d
je 0x41e1d0
call sub.msvcrt.dll__errno
mov dword [eax], 0
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], esi
call sub.msvcrt.dll_strtoul
mov dword [esp + 0x44], eax
call sub.msvcrt.dll__errno
mov edx, dword [eax]
test edx, edx
je 0x41de09
mov eax, 3
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp]
mov eax, 1
cmp edx, esi
je 0x41de01
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41de24
movzx eax, byte [edx]
test al, al
jne 0x41de32
mov edx, dword [esp + 0x44]
xor eax, eax
mov esi, dword [esp + 0x6c]
mov dword [esi], edx
jmp 0x41de01
mov dword [esp + 0x40], 1
mov esi, dword [esp + 0x70]
movsx edi, al
mov dword [esp + 4], edi
mov ebx, 0x400
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x41de67
mov ebp, dword [esp + 0x44]
mov eax, 2
mov ebx, dword [esp + 0x6c]
mov dword [ebx], ebp
jmp 0x41de01
mov dword [esp + 4], 0x30
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x41e1c2
mov esi, dword [ebp]
mov dword [esp + 0x1c], esi
movsx eax, byte [esi + 1]
cmp eax, 0x42
je 0x41e1b5
cmp eax, 0x44
je 0x41e1b0
mov edi, dword [esp + 0x1c]
movsx eax, byte [edi]
sub eax, 0x42
cmp eax, 0x35
ja case.0x41deaf.67
jmp dword [eax*4 + 0x41deb8]
mov edx, dword [esp + 0x44]
mov ecx, edx
shl ecx, 9
mov eax, ecx
shr eax, 9
cmp edx, eax
mov ebx, 1
je 0x41dfc8
mov edx, ebx
test edx, edx
mov eax, 3
jne 0x41de01
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
add ecx, eax
mov dword [ebp], ecx
jmp 0x41de24
mov dword [esp + 0x44], ecx
xor ebx, ebx
jmp 0x41dfa7
mov edx, dword [esp + 0x44]
mov ecx, edx
shl ecx, 0xa
mov eax, ecx
shr eax, 0xa
jmp 0x41df9e
mov edi, 5
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e014
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41dfe5
xor eax, eax
mov edx, eax
jmp 0x41dfa9
mov eax, 1
jmp 0x41e009
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41dffd
mov edi, 2
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e045
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e021
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e039
mov edi, 4
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e076
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e052
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e06a
mov edi, 3
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e0b0
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e083
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e09b
mov edi, 7
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e0e8
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e0bd
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e0d5
mov edi, 6
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e120
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e0f5
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e10d
xor edx, edx
jmp 0x41dfa9
xor edi, edi
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e160
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e131
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e149
mov edi, 1
mov ecx, dword [esp + 0x44]
xor edx, edx
mov esi, 1
imul ecx, ebx
mov eax, ecx
div ebx
cmp dword [esp + 0x44], eax
je 0x41e198
test esi, esi
jne 0x41e00d
dec edi
cmp edi, 0xffffffff
jne 0x41e16d
jmp 0x41e007
mov dword [esp + 0x44], ecx
xor esi, esi
jmp 0x41e185
mov edx, dword [esp + 0x44]
lea ecx, [edx + edx]
mov eax, ecx
shr eax, 1
jmp 0x41df9e
mov ebx, 0x3e8
mov dword [esp + 0x40], 2
jmp 0x41dea0
mov edx, dword [ebp]
mov dword [esp + 0x1c], edx
jmp 0x41dea0
mov eax, 1
jmp 0x41de01
mov ecx, dword [sym.imp.msvcrt.dll__pctype]
mov eax, dword [ecx]
movzx ecx, word [eax + edx*2]
and ecx, 8
movzx eax, cx
jmp 0x41ddc2
lea ebp, [esp + 0x48]
jmp 0x41dd94
mov dword [esp + 8], 0x7b
mov dword [esp + 4], 0x41dd20
mov dword [esp], 0x41dd40
call sub.msvcrt.dll__assert
nop
nop
nop
nop
js 0x41e295
je 0x41e296
je 0x41e295
insb byte es:[edi], dx
arpl word cs:[eax], ax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor byte [eax], ah
cmp al, 0x3d
and byte [ebx + 0x74], dh
jb 0x41e2bd
outsd dx, dword [esi]
insb byte es:[edi], dx
pop edi
bound esp, qword [ecx + 0x73]
and byte gs:[esi], ah
and byte es:[ebx + 0x74], dh
jb 0x41e2cc
outsd dx, dword [esi]
insb byte es:[edi], dx
pop edi
bound esp, qword [ecx + 0x73]
and byte gs:[edi + 0x363320], bh
lea esi, [esi]
lea edi, [edi]
add al, 0
add byte [ebx - 0x7a9bdb84], cl
dec dword [edi]
test byte [eax], dl
add al, 0
add al, ch
xchg dword [bx + si], eax
add bh, al
add byte [eax], al
add byte [eax], al
add byte [ecx - 0x76f7dba4], cl
jl 0x41e2da
add byte [eax], al
add al, 0x89
xor al, 0x24
add byte [eax], al
push eax