Function at 0x1001ac24
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
and dword [ebp + 0xc], 1
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
and eax, 2
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x7c
je 0x1001acfe
jmp 0x1001acf3
mov edx, dword [esi]
xor ecx, ecx
mov cx, word [edx]
mov eax, ecx
call fcn.10002df6
test al, al
jne 0x1001acfe
cmp cx, 0x3c
jne 0x1001ac7e
mov dword [ebp - 0x18], 0x8000
jmp 0x1001acee
cmp cx, 0x5e
je 0x1001aceb
cmp cx, 0x23
je 0x1001aceb
cmp cx, 0x7e
je 0x1001aceb
cmp cx, 0x2b
je 0x1001aceb
cmp cx, 0x2d
je 0x1001aceb
cmp cx, 0x40
je 0x1001aceb
cmp cx, 0x24
je 0x1001aceb
cmp cx, 0x2a
je 0x1001aceb
cmp cx, 0x3d
je 0x1001aceb
cmp cx, 0x3f
je 0x1001aceb
cmp cx, 0x2f
je 0x1001aceb
cmp cx, 0x5c
je 0x1001aceb
cmp cx, 0x25
je 0x1001aceb
cmp cx, 0x3b
je 0x1001aceb
cmp cx, 0x2c
je 0x1001aceb
cmp cx, 0x2e
je 0x1001aceb
cmp cx, 0x2222
je 0x1001aceb
cmp cx, 0x27
jne 0x1001acf3
mov dword [ebp - 4], ecx
add edx, 2
mov dword [esi], edx
mov eax, dword [esi]
cmp word [eax], bx
jne 0x1001ac59
cmp dword [esi], ebx
je 0x1001af6d
mov ecx, esi
call fcn.1000f804
mov eax, dword [esi]
cmp eax, ebx
je 0x1001af6d
mov cx, word [eax]
cmp cx, bx
je 0x1001af6d
cmp cx, 0x7b
jne 0x1001ad56
lea edx, [eax + 2]
mov ecx, esi
mov dword [esi], edx
call fcn.1000f804
mov eax, dword [esi]
cmp word [eax], bx
je 0x1001ada3
mov ecx, dword [ebp - 0x10]
push 0x100c6a64
push 1
push esi
mov dword [esi], edx
push dword [ecx + 0x28]
call fcn.1007b50e
mov dword [ebp - 8], eax
jmp 0x1001ada3
push 2
push eax
push 0x100ca6cc
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1001ae92
mov eax, dword [esi]
mov edx, eax
add eax, 4
mov ecx, esi
mov dword [esi], eax
call fcn.1000f804
jmp 0x1001ad94
mov eax, dword [esi]
mov cx, word [eax]
cmp cx, word [ebp - 4]
je 0x1001ad9b
cmp cx, 0x7b
je 0x1001ad9b
add eax, 2
mov dword [esi], eax
mov eax, dword [esi]
cmp word [eax], bx
jne 0x1001ad7e
mov eax, dword [esi]
cmp word [eax], 0x7b
je 0x1001adc2
push dword [ebp - 4]
mov eax, dword [esi]
call fcn.1001aa9e
cmp eax, ebx
pop ecx
mov dword [esi], eax
je 0x1001acfe
add eax, 2
mov dword [esi], eax
jmp 0x1001acfe
sub eax, edx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x20]
call fcn.10050208
mov eax, dword [esi]
lea edx, [eax + 2]
mov ecx, esi
mov dword [esi], edx
call fcn.1000f804
mov edi, dword [esi]
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], edx
call fcn.10046141
cmp word [edi], bx
je 0x1001ae4d
push dword [ebp - 4]
mov eax, edi
call fcn.1001aa9e
mov ebx, eax
test ebx, ebx
pop ecx
je 0x1001ae30
lea ecx, [ebx - 2]
cmp ecx, edi
jb 0x1001ae26
mov ax, word [ecx]
call fcn.10002df6
test al, al
je 0x1001ae1c
dec ecx
dec ecx
cmp ecx, edi
jae 0x1001ae0a
cmp ecx, edi
jb 0x1001ae26
cmp word [ecx], 0x7d
je 0x1001ae35
cmp word [ebx], 0
mov edi, ebx
jne 0x1001adf2
jmp 0x1001ae4b
and dword [esi], 0
jmp 0x1001ae4b
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ecx
push dword [ebp - 0xc]
lea ecx, [ebp - 0x14]
call fcn.10046247
add ebx, 2
mov dword [esi], ebx
xor ebx, ebx
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
call fcn.1000f804
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x1001ae7d
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ecx + 0x28]
call fcn.1007b50e
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
call fcn.1003f96c
lea ecx, [ebp - 0x20]
call fcn.1003f96c
jmp 0x1001acfe
cmp dword [ebp + 0xc], ebx
je 0x1001aea3
mov eax, dword [esi]
cmp word [eax], 0x7d
je 0x1001af59
lea ecx, [ebp + 8]
call fcn.10046123
cmp word [ebp - 0x18], bx
push dword [ebp - 4]
jne 0x1001af12
mov eax, dword [esi]
call fcn.1001aa9e
cmp dword [ebp + 0xc], ebx
mov edi, eax
pop ecx
mov ecx, edi
je 0x1001af00
cmp edi, ebx
je 0x1001aece
lea ecx, [edi - 2]
jmp 0x1001aedc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea ecx, [ecx + eax*2 - 2]
mov edx, dword [esi]
cmp ecx, edx
jb 0x1001aefe
mov ax, word [ecx]
call fcn.10002df6
test al, al
je 0x1001aef4
dec ecx
dec ecx
cmp ecx, dword [esi]
jae 0x1001aee2
cmp ecx, edx
jb 0x1001aefe
cmp word [ecx], 0x7d
je 0x1001af00
mov ecx, edi
mov eax, dword [esi]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.10046247
jmp 0x1001af21
mov edi, dword [esi]
lea eax, [ebp + 8]
push eax
call fcn.1001ab3a
pop ecx
pop ecx
mov edi, eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push dword [ebp + 8]
call fcn.10034bed
cmp edi, ebx
mov dword [ebp - 8], eax
je 0x1001af65
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x88], bx
jne 0x1001af65
cmp word [ebp - 0x18], bx
mov dword [esi], edi
jne 0x1001af51
add edi, 2
mov dword [esi], edi
lea ecx, [ebp + 8]
jmp 0x1001ae88
add dword [esi], 2
mov ecx, esi
call fcn.1000f804
jmp 0x1001af6d
lea ecx, [ebp + 8]
call fcn.1003f96c
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc