Function at 0x4c3737
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x140
mov eax, dword [ebp + 0x7c]
imul eax, eax, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
mov edi, dword [esi + 0xc]
add edi, eax
mov ebx, dword [edi]
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x5c], ebx
call fcn.004a79c0
test eax, eax
jne 0x4c3c9e
push dword [ebx + 8]
push dword [ebp + 0x74]
call fcn.004c36a2
cmp byte [ebx], 0x3f
pop ecx
pop ecx
mov dword [ebp + 0x64], eax
jne 0x4c37a3
mov esi, dword [ebx + 0x38]
mov ebx, dword [ebp + 0x74]
call fcn.004c2a8c
mov esi, eax
mov eax, dword [ebp + 0x5c]
push dword [eax + 0x10]
push ebx
call fcn.004c36fb
mov ebx, dword [ebp + 0x5c]
or esi, eax
mov dword [edi + 0x14], esi
mov esi, dword [ebp + 0x78]
jmp 0x4c37b1
push dword [ebx + 0xc]
push dword [ebp + 0x74]
call fcn.004c36a2
mov dword [edi + 0x14], eax
pop ecx
pop ecx
push ebx
push dword [ebp + 0x74]
call fcn.004c36a2
test byte [ebx + 2], 1
pop ecx
pop ecx
mov dword [ebp + 0x78], eax
je 0x4c37d6
push dword [ebx + 0x34]
mov eax, dword [ebp + 0x74]
call fcn.004c2a65
or dword [ebp + 0x78], eax
pop ecx
mov eax, dword [ebp + 0x78]
or word [edi + 6], 0xffff
or word [edi + 4], 0xffff
xor edx, edx
mov dword [edi + 0x18], eax
mov word [edi + 0xa], dx
mov cl, byte [ebx]
movzx eax, cl
cmp eax, 0x3f
je 0x4c3808
cmp eax, 0x43
jl 0x4c3915
cmp eax, 0x47
jg 0x4c3915
mov eax, dword [ebp + 0x64]
test dword [edi + 0x14], eax
jne 0x4c3915
mov eax, dword [ebx + 8]
cmp byte [eax], 0x90
mov edx, dword [ebx + 0xc]
jne 0x4c3848
mov cx, word [eax + 0x24]
mov word [edi + 6], cx
mov ax, word [eax + 0x28]
mov word [edi + 8], ax
movzx eax, byte [ebx]
cmp eax, 0x3f
jne 0x4c383c
xor eax, eax
inc eax
jmp 0x4c3844
lea ecx, [eax - 0x43]
push 2
pop eax
shl eax, cl
mov word [edi + 0xa], ax
test edx, edx
je 0x4c3b9f
cmp byte [edx], 0x90
jne 0x4c3b9f
cmp word [edi + 6], 0
jl 0x4c389b
push ebx
call fcn.004bb85a
mov edi, eax
push 3
push edi
call fcn.004c29be
add esp, 0xc
test eax, eax
je 0x4c3c9e
imul eax, eax, 0x1c
add eax, dword [esi + 0xc]
mov edx, eax
mov ax, word [ebp + 0x7c]
mov word [edx + 4], ax
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x54]
or byte [eax + 0xc], 8
mov byte [eax + 0xd], 1
jmp 0x4c38a2
mov edx, edi
mov dword [ebp + 0x60], ebx
mov edi, ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp + 0x60], ecx
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [edi + 0xc], ecx
mov cl, byte [edi]
cmp cl, 0x44
mov dword [edi + 8], eax
jb 0x4c38db
sub cl, 0x44
xor cl, 2
add cl, 0x44
mov byte [edi], cl
mov cx, word [eax + 0x24]
mov word [edx + 6], cx
mov ax, word [eax + 0x28]
mov word [edx + 8], ax
mov eax, dword [ebp + 0x64]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x78]
mov dword [edx + 0x18], eax
movzx eax, byte [edi]
cmp eax, 0x3f
jne 0x4c3904
xor eax, eax
inc eax
jmp 0x4c390c
lea ecx, [eax - 0x43]
push 2
pop eax
shl eax, cl
mov word [edx + 0xa], ax
jmp 0x4c3b9f
cmp cl, 0x3e
jne 0x4c39a0
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x78], edx
jmp 0x4c392e
xor edx, edx
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x78]
push edx
push dword [ecx + eax]
call fcn.004bb85a
pop ecx
push eax
push dword [ebx + 8]
call fcn.004bb85a
pop ecx
push eax
mov eax, dword [ebp + 0x64]
movzx eax, byte [eax + 0x5c72d8]
push eax
call fcn.004bb739
push 3
push eax
call fcn.004c29be
mov edi, eax
push edi
push esi
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.004c3737
imul edi, edi, 0x1c
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x54]
mov dx, word [ebp + 0x7c]
add dword [ebp + 0x78], 0xc
add esp, 0x28
add ecx, eax
inc dword [ebp + 0x64]
cmp dword [ebp + 0x78], 0x18
mov word [edi + eax + 4], dx
jl 0x4c392c
mov byte [ecx + 0xd], 2
jmp 0x4c3b9f
cmp cl, 0x3b
jne 0x4c3b9f
mov eax, dword [esi]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xc8]
push 0x3b
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd8]
push ebx
push eax
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], 0xa
call fcn.004c2a2a
mov edi, dword [ebp - 0xd4]
add esp, 0xc
jmp 0x4c39fd
push edi
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.004c3737
add esp, 0x10
dec edi
jns 0x4c39e7
mov edx, dword [ebp - 0xcc]
xor eax, eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x58], eax
add eax, edx
movsx edi, word [eax + 6]
movsx ecx, word [eax + 8]
xor eax, eax
test edi, edi
setge al
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x64], eax
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp + 0x78], eax
js 0x4c3a96
lea eax, [edx + 0xc]
cmp dword [ebp + 0x64], 0
je 0x4c3a9c
cmp word [eax - 2], 2
jne 0x4c3b94
movsx ecx, word [eax - 6]
cmp ecx, dword [ebp + 0x50]
jne 0x4c3a5f
movsx ecx, word [eax - 4]
cmp ecx, dword [ebp + 0x60]
jne 0x4c3a5f
or byte [eax], 0x10
jmp 0x4c3a84
mov cl, byte [eax]
test cl, 8
jne 0x4c3a7f
test cl, 2
je 0x4c3a79
movsx edi, word [eax - 8]
imul edi, edi, 0x1c
test byte [edi + edx + 0xc], 0x10
jne 0x4c3a7f
and dword [ebp + 0x64], 0
jmp 0x4c3a8a
and cl, 0xef
mov byte [eax], cl
mov edx, dword [ebp - 0xcc]
dec dword [ebp + 0x78]
add eax, 0x1c
cmp dword [ebp + 0x78], 0
jge 0x4c3a37
cmp dword [ebp + 0x64], 0
jne 0x4c3acc
mov eax, dword [ebp + 0x58]
mov cl, byte [eax + edx + 0xc]
and cl, 8
inc dword [ebp + 0x5c]
add eax, 0x1c
test cl, cl
mov dword [ebp + 0x58], eax
je 0x4c3ac2
mov ecx, dword [ebp + 0x5c]
cmp ecx, dword [ebp - 0xd4]
jl 0x4c3a0e
cmp dword [ebp + 0x64], 0
je 0x4c3b94
mov eax, dword [ebp - 0xd4]
xor edi, edi
dec eax
xor ecx, ecx
mov dword [ebp + 0x78], eax
cmp eax, ecx
jmp 0x4c3b0f
cmp dword [ebp + 0x64], ecx
je 0x4c3b14
test byte [edx + 0xc], 0x10
je 0x4c3b03
mov eax, dword [edx]
push dword [eax + 0xc]
call fcn.004bb85a
push 0
push eax
push edi
call fcn.004bb32f
add esp, 0x10
mov edi, eax
xor ecx, ecx
mov edx, dword [ebp + 0x58]
dec dword [ebp + 0x78]
add edx, 0x1c
cmp dword [ebp + 0x78], ecx
mov dword [ebp + 0x58], edx
jge 0x4c3ade
push ecx
push ecx
push ecx
push 0x90
call fcn.004bb739
add esp, 0x10
test eax, eax
je 0x4c3b34
mov ecx, dword [ebp + 0x50]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp + 0x60]
mov dword [eax + 0x28], ecx
push 0
push 0
push eax
push 0x3f
call fcn.004bb739
add esp, 0x10
test eax, eax
je 0x4c3b8d
mov cl, byte [ebx + 2]
and cl, 1
or byte [eax + 2], cl
mov ecx, dword [ebx + 0x34]
push 3
push eax
mov dword [eax + 0x34], ecx
mov dword [eax + 0x10], edi
call fcn.004c29be
mov edi, eax
push edi
push esi
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.004c3737
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x54]
mov dx, word [ebp + 0x7c]
add ecx, eax
add esp, 0x18
imul edi, edi, 0x1c
mov word [edi + eax + 4], dx
mov byte [ecx + 0xd], 1
jmp 0x4c3b94
push edi
call fcn.004badc9
pop ecx
lea eax, [ebp - 0xd8]
call fcn.004c2985
mov ecx, dword [esi]
mov ecx, dword [ecx]
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x78]
push eax
mov eax, ebx
call fcn.004c2be9
test eax, eax
pop ecx
pop ecx
je 0x4c3c9e
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0x60], eax
xor eax, eax
push eax
push eax
push eax
push 0x56
call fcn.004bb739
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4c3c01
mov eax, dword [ebp + 0x60]
add eax, 0x14
push eax
lea eax, [edi + 0x14]
push eax
call fcn.004bac34
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
mov ecx, dword [edi + 0x18]
add eax, eax
and ecx, 1
or eax, ecx
mov dword [edi + 0x18], eax
push edi
call fcn.004bb85a
test eax, eax
pop ecx
mov dword [ebp + 0x60], eax
je 0x4c3c1b
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x78]
lea eax, [eax + ecx - 1]
inc byte [eax]
push 0
push edi
push ebx
call fcn.004bb85a
pop ecx
push eax
push 0x47
call fcn.004bb739
push 3
push eax
call fcn.004c29be
mov edi, eax
push edi
push esi
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.004c3737
add esp, 0x28
push 0
push dword [ebp + 0x60]
push ebx
call fcn.004bb85a
pop ecx
push eax
push 0x46
call fcn.004bb739
push 3
push eax
call fcn.004c29be
mov ebx, eax
push ebx
push esi
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.004c3737
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x54]
add esp, 0x28
cmp dword [ebp + 0x50], 0
je 0x4c3c9e
mov edx, dword [esi + 0xc]
imul edi, edi, 0x1c
imul ebx, ebx, 0x1c
mov ecx, dword [ebp + 0x7c]
mov word [edi + edx + 4], cx
mov edx, dword [esi + 0xc]
mov word [ebx + edx + 4], cx
mov byte [eax + 0xd], 2
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret