Function at 0x404953
Capabilities:
Parse credit card information

Disassembly:
push 0x44
mov eax, 0x43c10d
call fcn.0043ac4f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edi, dword [ebp + 0xc]
or dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], ebx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
lea ecx, [edx + ecx*2]
movzx edx, word [ecx]
cmp dx, bx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ecx
jne 0x4049aa
push 0xfffffffffffffffe
mov dword [edi + 8], ebx
mov dword [edi], ebx
pop eax
jmp 0x404ffe
movzx edx, dx
cmp edx, ebx
mov dword [ebp + 0xc], edx
je 0x404c47
mov esi, 0x4454d8
cmp dword [ebp - 0x28], ebx
je 0x404a32
push dword [ebp + 0xc]
push 0x4454c8
call dword [sym.imp.MSVCR80.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x404a9b
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
sub ebx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
sar ebx, 1
sub ebx, ecx
cmp dword [ebp - 0x14], 0
jne 0x4049fb
mov dword [eax], ecx
lea ecx, [ebx + ecx - 1]
mov dword [eax + 4], ecx
jmp 0x404a27
lea ecx, [edi + 0x10]
push ebx
call fcn.00401746
mov edx, dword [ebp - 0x28]
lea ecx, [ebx + ebx]
push ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
lea ecx, [ecx + edx*2]
push ecx
push eax
call fcn.0043aec4
add esp, 0xc
push ebx
lea ecx, [edi + 0x10]
call fcn.0040309a
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x18]
xor ebx, ebx
cmp edx, ebx
je 0x404be3
mov eax, dword [ebp + 0xc]
cmp eax, 0x3e
jne 0x404aee
test byte [ebp - 0x10], 0xc0
jne 0x404b07
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x20]
sar eax, 1
cmp ecx, 1
mov dword [ebp - 0x24], eax
jne 0x404aa8
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jne 0x404adf
cmp dword [ebp - 0x2c], 0x2f
jne 0x404adf
cmp dword [ebp - 0x30], ebx
je 0x404a92
push dword [ebp - 0x30]
push 0x4454b8
call dword [sym.imp.MSVCR80.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x404adf
or dword [edi + 0xc], 0x10000
jmp 0x404adf
mov ecx, dword [ebp - 0x1c]
inc ecx
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x404c34
cmp eax, ecx
jle 0x404ad5
mov ebx, dword [ebp - 0x1c]
lea eax, [ecx + ecx]
sub ebx, eax
lea eax, [ebx + 2]
mov dword [ebp + 0xc], ecx
sub edx, eax
dec dword [ebp + 0xc]
je 0x404ad1
mov cx, word [eax]
mov bx, word [edx + eax]
inc eax
inc eax
cmp cx, bx
je 0x404abc
jmp 0x404ad5
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x404c2d
test byte [ebp - 0x10], 0x20
je 0x404fe9
jmp 0x404c2d
cmp eax, 0x3c
jne 0x404b07
cmp dword [ebp - 0x14], 2
je 0x4050dc
cmp dword [ebp - 0x14], 0xffffffff
je 0x4050dc
test byte [ebp - 0x14], 1
je 0x404bb6
test byte [ebp - 0x10], 0xc0
je 0x404b40
cmp eax, 0x22
jne 0x404b2f
test byte [ebp - 0x10], 0x80
je 0x404ba8
xor dword [ebp - 0x10], 0x80
jmp 0x404ba8
cmp eax, 0x27
jne 0x404ba8
test byte [ebp - 0x10], 0x40
je 0x404ba8
xor dword [ebp - 0x10], 0x40
jmp 0x404ba8
cmp eax, 0x22
jne 0x404b56
test word [ebp - 0x10], 0x100
je 0x404ba8
xor dword [ebp - 0x10], 0x180
jmp 0x404ba8
cmp eax, 0x27
jne 0x404b6c
test word [ebp - 0x10], 0x100
je 0x404ba8
xor dword [ebp - 0x10], 0x140
jmp 0x404ba8
cmp eax, 0x3d
jne 0x404b85
cmp dword [ebp - 0x2c], eax
je 0x404b85
mov eax, pe_nt_image_headers32
test dword [ebp - 0x10], eax
jne 0x404b85
xor dword [ebp - 0x10], eax
jmp 0x404ba8
test word [ebp - 0x10], 0x100
je 0x404ba8
push dword [ebp + 0xc]
push 0x445258
call dword [sym.imp.MSVCR80.dll_wcschr]
test eax, eax
pop ecx
pop ecx
jne 0x404ba8
xor dword [ebp - 0x10], 0x100
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x404c2d
test byte [ebp - 0x14], 0x40
je 0x404c2d
cmp dword [ebp + 0xc], 0x22
jne 0x404bd1
test byte [ebp - 0x10], 0x40
jne 0x404c2d
xor dword [ebp - 0x10], 0x80
jmp 0x404c2d
cmp dword [ebp + 0xc], 0x27
jne 0x404c2d
test byte [ebp - 0x10], 0x80
jne 0x404c2d
xor dword [ebp - 0x10], 0x40
jmp 0x404c2d
cmp dword [ebp - 0x10], ebx
je 0x405004
test byte [ebp - 0x10], 0x10
je 0x404c92
cmp dword [ebp + 0xc], 0x3c
je 0x4050ed
push dword [ebp + 0xc]
push 0x445258
call dword [sym.imp.MSVCR80.dll_wcschr]
test eax, eax
pop ecx
pop ecx
jne 0x404c2d
xor dword [ebp - 0x10], 0x10
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 0x445344
add dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x4049bd
mov eax, dword [ebp + 8]
sub ecx, dword [eax + 0xc]
sar ecx, 1
dec ecx
cmp dword [ebp - 0x14], 4
mov dword [ebp - 0x24], ecx
je 0x404fe9
cmp dword [ebp - 0x14], 2
je 0x404fe9
test byte [ebp - 0x10], 0x20
mov eax, 0x4454b0
jne 0x405070
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x40
je 0x405070
cmp ecx, 1
jne 0x405041
mov eax, 0x445498
jmp 0x405075
test byte [ebp - 0x10], 1
je 0x404da5
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
xor dword [ebp - 0x10], eax
cmp ecx, 0x60
ja 0x404d89
cmp ecx, 0x40
jbe 0x404cbc
cmp ecx, 0x5b
jb 0x404d89
cmp ecx, 0x5f
je 0x404d89
cmp ecx, 0x3a
je 0x404d89
cmp ecx, 0x2f
jne 0x404cea
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], ebx
sar eax, 1
inc eax
jmp 0x404d9a
cmp ecx, 0x21
jne 0x404cf8
or dword [ebp - 0x10], 2
jmp 0x404c2d
cmp ecx, 0x3f
jne 0x404d20
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], 0x44532c
sar eax, 1
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x14], 0x10
inc eax
jmp 0x404d9d
lea ebx, [edi + 0x10]
push 0x445480
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 1
call fcn.00401873
push 0x445458
mov ecx, ebx
call fcn.00403b00
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push eax
call fcn.00404777
push eax
lea eax, [ebp - 0x34]
push 0x445440
push eax
mov dword [ebp - 4], 2
call fcn.00403a9b
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00403c72
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004012d8
mov ecx, dword [ebp - 0x38]
jmp 0x404f9c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], eax
jmp 0x404c2d
test byte [ebp - 0x10], 2
je 0x404e75
xor dword [ebp - 0x10], 2
cmp dword [ebp + 0xc], 0x2d
jne 0x404dc2
or dword [ebp - 0x10], 4
jmp 0x404c2d
cmp dword [ebp + 0xc], 0x5b
jne 0x404dd7
test byte [ebp - 0x10], 0x20
jne 0x404dec
or dword [ebp - 0x10], 8
jmp 0x404c2d
cmp dword [ebp + 0xc], 0x44
jne 0x404dec
test byte [ebp - 0x10], 0x20
jne 0x404dec
or dword [ebp - 0x10], 0x20
jmp 0x404c2d
push dword [ebp + 0xc]
push 0x445438
call dword [sym.imp.MSVCR80.dll_wcschr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 1
je 0x404e16
mov dword [ebp - 0x14], 0x40
jmp 0x404c2d
lea ebx, [edi + 0x10]
push 0x445480
mov ecx, ebx
call fcn.00401873
push 0x44542c
mov ecx, ebx
call fcn.00403b00
push dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
call fcn.00404777
push eax
lea eax, [ebp - 0x3c]
push 0x445440
push eax
mov dword [ebp - 4], 4
call fcn.00403a9b
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00403c72
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004012d8
mov ecx, dword [ebp - 0x40]
jmp 0x404f9c
test byte [ebp - 0x10], 4
je 0x404f0c
xor dword [ebp - 0x10], 4
cmp dword [ebp + 0xc], 0x2d
jne 0x404ea3
mov dword [ebp - 0x18], 0x445318
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x14], 0x20
jmp 0x404c2d
lea ebx, [edi + 0x10]
push 0x445480
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 1
call fcn.00401873
push 0x445414
mov ecx, ebx
call fcn.00403b00
push dword [ebp - 0x24]
lea eax, [ebp - 0x48]
push eax
call fcn.00404777
push eax
lea eax, [ebp - 0x44]
push 0x445440
push eax
mov dword [ebp - 4], 6
call fcn.00403a9b
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00403c72
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.004012d8
mov ecx, dword [ebp - 0x48]
jmp 0x404f9c
test byte [ebp - 0x10], 8
je 0x404fb1
push 8
pop eax
xor dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0x43
jne 0x404f38
mov dword [ebp - 0x18], 0x44535c
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x14], eax
jmp 0x404c2d
lea ebx, [edi + 0x10]
push 0x445480
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 1
call fcn.00401873
push 0x4454b0
mov ecx, ebx
call fcn.00403b00
push dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
call fcn.00404777
push eax
lea eax, [ebp - 0x4c]
push 0x445440
push eax
mov dword [ebp - 4], 8
call fcn.00403a9b
add esp, 0x14
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.00403c72
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.004012d8
mov ecx, dword [ebp - 0x50]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004012d8
or dword [ebp - 0x14], 0xffffffff
jmp 0x404c2d
test byte [ebp - 0x10], 0x20
je 0x404c2d
cmp dword [ebp + 0xc], 0x3c
jne 0x404fca
or dword [ebp - 0x10], 1
jmp 0x404c2d
cmp dword [ebp + 0xc], 0x3e
jne 0x404c2d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], 0x40
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ecx + 8], eax
sub eax, dword [edi + 4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
call fcn.0043ad27
ret
cmp dword [ebp + 0xc], 0x3c
jne 0x405016
mov dword [ebp - 0x10], 1
jmp 0x404c2d
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 4
push 0x445258
call dword [sym.imp.MSVCR80.dll_wcschr]
test eax, eax
pop ecx
pop ecx
je 0x404c18
mov dword [ebp - 0x10], 0x10
jmp 0x404c2d
cmp ecx, ebx
jne 0x40504c
mov eax, 0x4453f4
jmp 0x405075
cmp ecx, 8
jne 0x405058
mov eax, 0x4453d8
jmp 0x405075
cmp ecx, 0x10
jne 0x405064
mov eax, 0x4453a8
jmp 0x405075
cmp ecx, 0x20
jne 0x405075
mov eax, 0x445398
jmp 0x405075
mov eax, 0x445388
or dword [ebp - 0x14], 0xffffffff
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.00401873
push dword [edi + 4]
lea eax, [ebp - 0x48]
push eax
call fcn.00404777
push eax
lea eax, [ebp + 0xc]
push 0x445440
push eax
mov dword [ebp - 4], ebx
call fcn.00403a9b
add esp, 0x14
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403c72
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004012d8
mov ecx, dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004012d8
push 0x44536c
mov ecx, esi
call fcn.00403b00
jmp 0x404fe9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0xc]
sar eax, 1
dec eax
jmp 0x404fe6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], 4
sar eax, 1
dec eax
jmp 0x404fe6